Bläddra i källkod

Workaround for the "catalan" bug. This leaves blank language
when it has not been set. Which is correct in my opinion, and
default language is used (but not set) instead.

philippe_mingo 23 år sedan
förälder
incheckning
fb848ecae4
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/options_display.php

+ 1 - 1
src/options_display.php

@@ -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'];