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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Dec 10 23:36:52 PST 2012


Author: armin11
Date: 2012-12-10 23:36:51 -0800 (Mon, 10 Dec 2012)
New Revision: 8522

Modified:
   trunk/mapbender/http/classes/class_wfsToDb.php
   trunk/mapbender/http/classes/class_wmc.php
Log:
Less exceptions and little bugfix

Modified: trunk/mapbender/http/classes/class_wfsToDb.php
===================================================================
--- trunk/mapbender/http/classes/class_wfsToDb.php	2012-12-10 14:29:10 UTC (rev 8521)
+++ trunk/mapbender/http/classes/class_wfsToDb.php	2012-12-11 07:36:51 UTC (rev 8522)
@@ -132,7 +132,7 @@
 		$sql .= "city = $16, deliverypoint = $17, administrativearea = $18, ";
 		$sql .= "postalcode = $19, voice = $20, facsimile = $21, ";
 		$sql .= "electronicmailaddress = $22, country = $23, ";
-		$sql .= "wfs_timestamp = $24, wfs_network_access = $25, fkey_mb_group_id = $26, wfs_max_features = $28";
+		$sql .= "wfs_timestamp = $24, wfs_network_access = $25, fkey_mb_group_id = $26, wfs_max_features = $28 ";
 		$sql .= "WHERE wfs_id = $27";
 
 		$v = array(

Modified: trunk/mapbender/http/classes/class_wmc.php
===================================================================
--- trunk/mapbender/http/classes/class_wmc.php	2012-12-10 14:29:10 UTC (rev 8521)
+++ trunk/mapbender/http/classes/class_wmc.php	2012-12-11 07:36:51 UTC (rev 8522)
@@ -1074,19 +1074,19 @@
 	}
 
 	public function wmsToJavaScript() {
-		$e = new mb_exception("class_wmc.php: create wms array from main map");
+		$e = new mb_notice("class_wmc.php: create wms array from main map");
 		$wmsArray = $this->mainMap->getWmsArray();
 
 		$wmcJsArray = array();
-		$e = new mb_exception("class_wmc.php: iterate over wms array");
-		$e = new mb_exception("class_wmc.php: count of wms array: ".count($wmsArray));
+		$e = new mb_notice("class_wmc.php: iterate over wms array");
+		$e = new mb_notice("class_wmc.php: count of wms array: ".count($wmsArray));
 		for ($i = 0; $i < count($wmsArray); $i++) {
 			$currentWms = $wmsArray[$i];
-			$e = new mb_exception("class_wmc.php: createJsObjFromWMS number: ".$i);
+			$e = new mb_notice("class_wmc.php: createJsObjFromWMS number: ".$i);
 			$wmcJsArray[] = $currentWms->createJsObjFromWMS_();
 			$this->incrementLoadCount($currentWms);
 		}
-		$e = new mb_exception("class_wmc.php: wmcJsArray created!");
+		$e = new mb_notice("class_wmc.php: wmcJsArray created!");
 		return $wmcJsArray;
 	}
 



More information about the Mapbender_commits mailing list