Explorar o código

[ZF-10064] Zend_Locale:

- tweak

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22516 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas %!s(int64=15) %!d(string=hai) anos
pai
achega
5dcbca02b7
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      library/Zend/Locale.php

+ 1 - 2
library/Zend/Locale.php

@@ -247,8 +247,7 @@ class Zend_Locale
      */
      */
     public function __construct($locale = null)
     public function __construct($locale = null)
     {
     {
-        $locale = self::_prepareLocale($locale);
-        $this->setLocale((string) $locale);
+        $this->setLocale($locale);
     }
     }
 
 
     /**
     /**