Skip to content

Commit

Permalink
Merge forwardport of #12304 to 2.3-develop branch
Browse files Browse the repository at this point in the history
Applied pull request patch https://github.com/magento/magento2/pull/12304.patch (created by @FreekVandeursen) based on commit(s):
  1. 470c257
  2. 3d1d027
  3. 723452c
  • Loading branch information
magento-engcom-team authored Jan 29, 2018
2 parents d891503 + 660c62a commit d10f55e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
four and 75/100,4.75
four and 5/10,4.50
four and 5/10,4.50

4 changes: 3 additions & 1 deletion lib/internal/Magento/Framework/App/Language/Dictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ private function readPackCsv($vendor, $package)
foreach ($foundCsvFiles as $foundCsvFile) {
$file = $directoryRead->openFile($foundCsvFile);
while (($row = $file->readCsv()) !== false) {
$result[$row[0]] = $row[1];
if (is_array($row) && count($row) > 1) {
$result[$row[0]] = $row[1];
}
}
}
}
Expand Down

0 comments on commit d10f55e

Please sign in to comment.