Skip to content

Commit 6bc5f27

Browse files
author
Stanislav Idolov
authored
ENGCOM-1243: [Forwardport] Fix translate issue #14558
2 parents fec679d + 81cfce1 commit 6bc5f27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/internal/Magento/Framework/Translate.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ protected function _addData($data)
312312
{
313313
foreach ($data as $key => $value) {
314314
if ($key === $value) {
315+
if (isset($this->_data[$key])) {
316+
unset($this->_data[$key]);
317+
}
315318
continue;
316319
}
317320

0 commit comments

Comments
 (0)