Changeset 1057 -- 2009-08-04 18:26:11
- Author
MugeSo
- Comment
- more clean up.
Diffs
CSV_Iterator/trunk/src/CSV/Iterator.php
@@ -51,7 +51,7 @@
++$this->rowCounter;
$data = $this->readRow();
if($data!==null && count($data)!==count($this->header)) {
- throw new RuntimeException('CSV parse error. Number of columns is not equal to number of header at row #'. $this->rowCounter .'.' . var_export(array($data, $this->header), true));
+ throw new RuntimeException('CSV parse error. Number of columns is not equal to number of header at row #'. $this->rowCounter .'.');
}
$this->currentRow = $data ? array_combine($this->header, $data) : null;
}