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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 4 06:18:46 EST 2010


Author: christoph
Date: 2010-01-04 06:18:46 -0500 (Mon, 04 Jan 2010)
New Revision: 5259

Modified:
   trunk/mapbender/http/php/mod_createJSObjFromDBByWMS.php
Log:
http://trac.osgeo.org/mapbender/ticket/568

Modified: trunk/mapbender/http/php/mod_createJSObjFromDBByWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_createJSObjFromDBByWMS.php	2010-01-04 11:17:30 UTC (rev 5258)
+++ trunk/mapbender/http/php/mod_createJSObjFromDBByWMS.php	2010-01-04 11:18:46 UTC (rev 5259)
@@ -31,7 +31,7 @@
 $admin = new administration();
 if ($admin->getWmsPermission($wms_id, $user_id)) {
 	$mywms = new wms();
-	if(isset($gui_id) && $gui_id!='undefined'){
+	if ($gui_id !== '') {
 		$mywms->createObjFromDB($gui_id, $wms_id);
 	}
 	else{



More information about the Mapbender_commits mailing list