[Mapbender-commits] r4797 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Oct 20 07:48:22 EDT 2009


Author: christoph
Date: 2009-10-20 07:48:19 -0400 (Tue, 20 Oct 2009)
New Revision: 4797

Modified:
   trunk/mapbender/http/classes/class_locale.php
Log:
fixed typo: knownLanguages instead of knownLocales

Modified: trunk/mapbender/http/classes/class_locale.php
===================================================================
--- trunk/mapbender/http/classes/class_locale.php	2009-10-20 10:06:42 UTC (rev 4796)
+++ trunk/mapbender/http/classes/class_locale.php	2009-10-20 11:48:19 UTC (rev 4797)
@@ -150,7 +150,7 @@
          * @returns true if the language is supported; otherwise false
          */
         function isKnownLanguage($languageId) {
-                if ($this->knownLocales == null) {
+                if ($this->knownLanguages == null) {
                         $this->setKnownLanguages();
                 }
                 if (array_key_exists($languageId, $this->knownLanguages)) {
@@ -266,4 +266,4 @@
             }
         }
 }
-?>
\ No newline at end of file
+?>



More information about the Mapbender_commits mailing list