_check_data

This commit is contained in:
William Knauss
2014-06-05 20:51:26 -04:00
parent 0422d5d9fe
commit 4366201dc0

View File

@@ -1091,7 +1091,7 @@ class parseCSV {
*/ */
protected function _check_data ($file = null) { protected function _check_data ($file = null) {
if (empty($this->file_data)) { if (empty($this->file_data)) {
if ( $file === null ) $file = $this->file; if (is_null($file)) $file = $this->file;
return $this->load_data($file); return $this->load_data($file);
} }