Преглед изворни кода

[ZF-8998] Zend_Locale

- fix auto content when defaults are set afterwards

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20730 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas пре 16 година
родитељ
комит
13c8cc35b8
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      library/Zend/Locale.php

+ 2 - 0
library/Zend/Locale.php

@@ -291,6 +291,8 @@ class Zend_Locale
                 throw new Zend_Locale_Exception("Unknown locale '" . (string) $locale . "' can not be set as default!");
             }
         }
+
+        self::$_auto = self::getBrowser() + self::getEnvironment() + self::getDefault();
     }
 
     /**