mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Fix for #27
This commit is contained in:
@@ -359,7 +359,7 @@ class parseCSV {
|
||||
$this->limit = $limit;
|
||||
}
|
||||
|
||||
if ( count($conditions) > 0 ) {
|
||||
if ( !is_null($conditions) ) {
|
||||
$this->conditions = $conditions;
|
||||
}
|
||||
|
||||
@@ -404,7 +404,7 @@ class parseCSV {
|
||||
$this->limit = $limit;
|
||||
}
|
||||
|
||||
if ( count($conditions) > 0 ) {
|
||||
if ( !is_null($conditions) ) {
|
||||
$this->conditions = $conditions;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user