[BUGFIX] Fix "enabled" in array representation of SiteLanguage
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Site / Entity / SiteLanguage.php
index 318e8ce..2ad4b89 100644 (file)
@@ -176,7 +176,7 @@ class SiteLanguage
             'typo3Language' => $this->getTypo3Language(),
             'flagIdentifier' => $this->getFlagIdentifier(),
             'fallbackType' => $this->getFallbackType(),
-            'hidden' => $this->isEnabled(),
+            'enabled' => $this->enabled(),
             'fallbackLanguageIds' => $this->getFallbackLanguageIds(),
         ];
     }