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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jul 20 11:31:02 EDT 2007


Author: christoph
Date: 2007-07-20 11:31:02 -0400 (Fri, 20 Jul 2007)
New Revision: 1524

Modified:
   trunk/mapbender/http/classes/class_administration.php
Log:
changed exceptions to notices

Modified: trunk/mapbender/http/classes/class_administration.php
===================================================================
--- trunk/mapbender/http/classes/class_administration.php	2007-07-20 15:03:30 UTC (rev 1523)
+++ trunk/mapbender/http/classes/class_administration.php	2007-07-20 15:31:02 UTC (rev 1524)
@@ -946,17 +946,17 @@
 	function char_encode($data) {
 		if (CHARSET == "UTF-8") {
 			if (!$this->is_utf8($data)) {
-				$e = new mb_exception("Conversion: ISO-8859-1 to UTF-8");
+				$e = new mb_notice("Conversion: ISO-8859-1 to UTF-8");
 				return utf8_encode($data);
 			}
 		}
 		else {
 			if ($this->is_utf8($data)) {
-				$e = new mb_exception("Conversion: UTF-8 to ISO-8859-1");
+				$e = new mb_notice("Conversion: UTF-8 to ISO-8859-1");
 				return utf8_decode($data);
 			}
 		}
-		$e = new mb_exception("no conversion: is " . CHARSET);
+		$e = new mb_notice("No conversion: is " . CHARSET);
 		return $data;
 	}
 



More information about the Mapbender_commits mailing list