Workaround for the "catalan" bug. This leaves blank language
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 12 Dec 2001 09:18:00 +0000 (09:18 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 12 Dec 2001 09:18:00 +0000 (09:18 +0000)
when it has not been set. Which is correct in my opinion, and
default language is used (but not set) instead.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1854 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/options_display.php

index c4da9aa..1ab11cb 100644 (file)
@@ -46,7 +46,7 @@ function load_optpage_data_display() {
         'save'    => 'save_option_theme'
     );
 
-    $language_values = array();
+    $language_values = array('');
     foreach ($languages as $lang_key => $lang_attributes) {
         if (isset($lang_attributes['NAME'])) {
             $language_values[$lang_key] = $lang_attributes['NAME'];