From f2f5a09c11feadd74e9252c38b392946af0e10a3 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 4 Oct 2011 19:48:02 +0200 Subject: [PATCH] Fixed broken dev mode Fixed #211 --- wcfsetup/install/files/lib/system/WCFSetup.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1