Jelajahi Sumber

[ZF-10064] Zend_Locale:

- tweak

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22516 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 15 tahun lalu
induk
melakukan
5dcbca02b7
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  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)
     {
-        $locale = self::_prepareLocale($locale);
-        $this->setLocale((string) $locale);
+        $this->setLocale($locale);
     }
 
     /**