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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Feb 15 10:24:37 EST 2011


Author: armin11
Date: 2011-02-15 07:24:36 -0800 (Tue, 15 Feb 2011)
New Revision: 7610

Modified:
   trunk/mapbender/http/classes/class_wmc.php
Log:
bugfixes

Modified: trunk/mapbender/http/classes/class_wmc.php
===================================================================
--- trunk/mapbender/http/classes/class_wmc.php	2011-02-15 15:21:27 UTC (rev 7609)
+++ trunk/mapbender/http/classes/class_wmc.php	2011-02-15 15:24:36 UTC (rev 7610)
@@ -492,7 +492,7 @@
 			$res = db_prep_query($sql, $v, $t);
 			$statusRow = db_fetch_row($res);
 			$status = intval($statusRow[0]);
-			if (isset($status) && $status < 0) {
+			if (isset($status) && $status == -1) {
 				$resultObj[]= array(
 					"title" => $wmsArray[$i]["title"],
 					"id" => $currentWmsId,



More information about the Mapbender_commits mailing list