From: Marcel Werk Date: Tue, 4 Oct 2011 17:48:02 +0000 (+0200) Subject: Fixed broken dev mode X-Git-Tag: 2.0.0_Beta_1~1734 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2f5a09c11feadd74e9252c38b392946af0e10a3;p=GitHub%2FWoltLab%2FWCF.git Fixed broken dev mode Fixed #211 --- diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index 3414738e24..71ed9b9512 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -454,7 +454,7 @@ class WCFSetup extends WCF { // select all available languages automatically if (self::$developerMode) { self::$selectedLanguages = array(); - foreach ($allLanguages as $languageCode) { + foreach (self::$availableLanguages as $languageCode => $language) { self::$selectedLanguages[] = $languageCode; }