[Mapbender-commits] r5258 - branches/2.6/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 4 06:17:31 EST 2010


Author: christoph
Date: 2010-01-04 06:17:30 -0500 (Mon, 04 Jan 2010)
New Revision: 5258

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

Modified: branches/2.6/http/php/mod_createJSObjFromDBByWMS.php
===================================================================
--- branches/2.6/http/php/mod_createJSObjFromDBByWMS.php	2010-01-04 10:28:18 UTC (rev 5257)
+++ branches/2.6/http/php/mod_createJSObjFromDBByWMS.php	2010-01-04 11:17:30 UTC (rev 5258)
@@ -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