Merge pull request #9082 from Sommereder/patch-1

Fix of delimiter not used bug
This commit is contained in:
Loz Calver 2019-06-20 10:49:24 +01:00 committed by GitHub
commit a54ba97e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,7 @@ class CsvBulkLoader extends BulkLoader
try {
$filepath = Director::getAbsFile($filepath);
$csvReader = Reader::createFromPath($filepath, 'r');
$csvReader->setDelimiter($this->delimiter);
$tabExtractor = function ($row, $rowOffset, $iterator) {
foreach ($row as &$item) {