logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

[TEP-COMMIT] [CVS catalog] pass a string value and not an array: msg#00021

Subject: [TEP-COMMIT] [CVS catalog] pass a string value and not an array
Commit in catalog/catalog/includes/classes on MAIN
language.php+1-11.9 -> 1.10
pass a string value and not an array

catalog/catalog/includes/classes
language.php 1.9 -> 1.10
diff -u -r1.9 -r1.10
--- language.php	2004/11/24 15:53:52	1.9
+++ language.php	2004/11/29 00:07:49	1.10
@@ -136,7 +136,7 @@
       foreach ($http_accept_language as $browser_language) {
         foreach ($browser_languages as $key => $value) {
           if (eregi('^(' . $value . ')(;q=[0-9]\\.[0-9])?$', $browser_language) && $this->exists($key)) {
-            $this->set($this->_languages[$key]);
+            $this->set($key);
 
             return true;
           }
CVSspam 0.2.9
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
<Prev in Thread] Current Thread [Next in Thread>