Skip to content

Commit bd3a401

Browse files
author
Frederik Teuber
committed
DEV-65555 fix type issue in Translate Adapter
1 parent 2ba8b75 commit bd3a401

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Zend/Translate/Adapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ private function _addTranslationData($options = [])
648648
}
649649
}
650650

651-
if (empty($temp)) {
651+
if (empty($temp) || !is_array($temp)) {
652652
$temp = [];
653653
}
654654

0 commit comments

Comments
 (0)