[BUGFIX] Allow fallback to default language in site config
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Site / Entity / SiteLanguage.php
index 695200e..fc4917e 100644 (file)
@@ -150,7 +150,7 @@ class SiteLanguage
         if (!empty($attributes['fallbackType'])) {
             $this->fallbackType = $attributes['fallbackType'];
         }
-        if (!empty($attributes['fallbacks'])) {
+        if (isset($attributes['fallbacks'])) {
             $this->fallbackLanguageIds = is_array($attributes['fallbacks']) ? $attributes['fallbacks'] : explode(',', $attributes['fallbacks']);
         }
         if (isset($attributes['enabled'])) {