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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 15 02:37:43 PST 2019


Author: armin11
Date: 2019-01-15 02:37:43 -0800 (Tue, 15 Jan 2019)
New Revision: 10025

Modified:
   trunk/mapbender/http/classes/class_wmc.php
Log:
Fix bug which occurs when loading mixed services from external csw and services from internal catalogue

Modified: trunk/mapbender/http/classes/class_wmc.php
===================================================================
--- trunk/mapbender/http/classes/class_wmc.php	2019-01-11 13:50:35 UTC (rev 10024)
+++ trunk/mapbender/http/classes/class_wmc.php	2019-01-15 10:37:43 UTC (rev 10025)
@@ -417,7 +417,7 @@
 		$resultObj = array();
 
 		for ($i = 0; $i < count($wmsArray); $i++) {
-			if (is_numeric($wmsArray[$i]["id"])) {
+			if (is_numeric($wmsArray[$i]["id"]) && $wmsArray[$i]["id"] !== 0) {
 				continue;
 			}
 			$resultObj[]= array(



More information about the Mapbender_commits mailing list