Skip to content

Commit

Permalink
#391 - When using multiple bundles, only non-empty translations are u…
Browse files Browse the repository at this point in the history
…sed.
  • Loading branch information
maraf committed Oct 28, 2021
1 parent 332af97 commit 14eb72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/scripts/php/libs/Localization.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function useBundle($template, $name, $system = true, $moduleId = "") {
public function getProperty($name) {
foreach ($this->loaded as $bundle) {
$result = $bundle->find($name);
if ($result !== false) {
if (!empty($result)) {
return $result;
}
}
Expand Down

0 comments on commit 14eb72f

Please sign in to comment.