Skip to content

Commit 566a29a

Browse files
Update CSV.php
1 parent 97ea53e commit 566a29a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CSV.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function parse($data) {
5757
} else {
5858
return is_string($data) ? trim($data, $this->enclosure) : $data;
5959
}
60-
}, explode($this->delimiter, $row));
60+
}, str_getcsv($row, $this->delimiter, $this->enclosure));
6161
}
6262
$rawData = $tmpData;
6363
$dataType = 'csv';

0 commit comments

Comments
 (0)