[Mapbender-commits] r5775 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Mar 15 11:54:10 EDT 2010


Author: christoph
Date: 2010-03-15 11:54:03 -0400 (Mon, 15 Mar 2010)
New Revision: 5775

Modified:
   trunk/mapbender/http/php/mod_wfs_server.php
Log:


Modified: trunk/mapbender/http/php/mod_wfs_server.php
===================================================================
--- trunk/mapbender/http/php/mod_wfs_server.php	2010-03-15 15:53:20 UTC (rev 5774)
+++ trunk/mapbender/http/php/mod_wfs_server.php	2010-03-15 15:54:03 UTC (rev 5775)
@@ -183,7 +183,7 @@
 	global $con;
 	$assignedConfs = array();
 	$confs = getWfsConfData($obj->selectedWfs);
-	if($confs === false){
+	if($confs === false || is_null($confs)){
 		return false;
 	}
 	$sql = "SELECT * FROM gui_wfs_conf WHERE fkey_gui_id = $1 AND fkey_wfs_conf_id IN (".join(",",$confs['id']).")";



More information about the Mapbender_commits mailing list