mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:24:30 -04:00
Fix for parseCSV constructor error
This commit is contained in:
parent
bd624710a8
commit
346dde8e97
@ -152,7 +152,7 @@ class parseCSV {
|
|||||||
* @param input CSV file or string
|
* @param input CSV file or string
|
||||||
* @return nothing
|
* @return nothing
|
||||||
*/
|
*/
|
||||||
function parseCSV ($input = null, $offset = null, $limit = null, $conditions = null) {
|
function __construct ($input = null, $offset = null, $limit = null, $conditions = null) {
|
||||||
if ( $offset !== null ) $this->offset = $offset;
|
if ( $offset !== null ) $this->offset = $offset;
|
||||||
if ( $limit !== null ) $this->limit = $limit;
|
if ( $limit !== null ) $this->limit = $limit;
|
||||||
if ( count($conditions) > 0 ) $this->conditions = $conditions;
|
if ( count($conditions) > 0 ) $this->conditions = $conditions;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user