Skip to content

Commit

Permalink
Merge pull request silverstripe#9082 from Sommereder/patch-1
Browse files Browse the repository at this point in the history
Fix of delimiter not used bug
  • Loading branch information
kinglozzer authored Jun 20, 2019
2 parents 960a7bb + 260c89f commit a54ba97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Dev/CsvBulkLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ protected function processAll($filepath, $preview = false)
try {
$filepath = Director::getAbsFile($filepath);
$csvReader = Reader::createFromPath($filepath, 'r');
$csvReader->setDelimiter($this->delimiter);

$tabExtractor = function ($row, $rowOffset, $iterator) {
foreach ($row as &$item) {
Expand Down

0 comments on commit a54ba97

Please sign in to comment.