Fixed broken dev mode
authorMarcel Werk <burntime@woltlab.com>
Tue, 4 Oct 2011 17:48:02 +0000 (19:48 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 4 Oct 2011 17:48:02 +0000 (19:48 +0200)
Fixed #211

wcfsetup/install/files/lib/system/WCFSetup.class.php

index 3414738e24106e875ea6c6981b224be966e95e81..71ed9b951279e83050571fb23aa0b2b3e77f5c7e 100644 (file)
@@ -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;
                        }