module training - trim all imported CSV cells
This commit is contained in:
parent
f5619c158f
commit
03caf86516
@ -79,7 +79,7 @@ class CSVReader
|
||||
$real_cols = array();
|
||||
|
||||
foreach($this->expected_cols_index as $real_index => $index) {
|
||||
$real_cols[$index] = $cols[$real_index];
|
||||
$real_cols[$index] = trim($cols[$real_index]);
|
||||
}
|
||||
$ok = call_user_func($this->handlers['readline'], new ArrayExtended($real_cols));
|
||||
$this->current_num_line++;
|
||||
|
Loading…
Reference in New Issue
Block a user