[Mapbender-commits] r3207 - branches/2.5/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Nov 10 03:42:07 EST 2008


Author: christoph
Date: 2008-11-10 03:42:07 -0500 (Mon, 10 Nov 2008)
New Revision: 3207

Modified:
   branches/2.5/http/classes/class_wmc.php
Log:
fixes http://trac.osgeo.org/mapbender/ticket/321

Modified: branches/2.5/http/classes/class_wmc.php
===================================================================
--- branches/2.5/http/classes/class_wmc.php	2008-11-10 08:01:35 UTC (rev 3206)
+++ branches/2.5/http/classes/class_wmc.php	2008-11-10 08:42:07 UTC (rev 3207)
@@ -25,11 +25,11 @@
 require_once(dirname(__FILE__) . "/../classes/class_json.php");
 
 function mb_utf8_encode ($str) {
-	if(CHARSET=="UTF-8") return utf8_encode($str);
+	if(CHARSET!="UTF-8") return utf8_encode($str);
 	return $str;
 }
 function mb_utf8_decode ($str) {
-	if(CHARSET=="UTF-8") return utf8_decode($str);
+	if(CHARSET!="UTF-8") return utf8_decode($str);
 	return $str;
 }
 function sepNameSpace($s){



More information about the Mapbender_commits mailing list