__construct

This commit is contained in:
William Knauss
2014-06-05 20:32:55 -04:00
parent 4393781abc
commit 65061046bd

View File

@@ -351,11 +351,11 @@ class parseCSV {
* @param [string] conditions Basic SQL-like conditions for row matching * @param [string] conditions Basic SQL-like conditions for row matching
*/ */
public function __construct ($input = null, $offset = null, $limit = null, $conditions = null, $keep_file_data = null) { public function __construct ($input = null, $offset = null, $limit = null, $conditions = null, $keep_file_data = null) {
if ( $offset !== null ) { if (!is_null($offset)) {
$this->offset = $offset; $this->offset = $offset;
} }
if ( $limit !== null ) { if (!is_null($limit)) {
$this->limit = $limit; $this->limit = $limit;
} }