diff --git a/src/app/scripts/php/libs/Localization.class.php b/src/app/scripts/php/libs/Localization.class.php index 3e628bb8..67d7779c 100644 --- a/src/app/scripts/php/libs/Localization.class.php +++ b/src/app/scripts/php/libs/Localization.class.php @@ -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; } }