Merge pull request #31 from williamknauss/issue-27

fix for issue #27
This commit is contained in:
William Knauss
2014-06-05 17:10:17 -04:00

View File

@@ -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;
}