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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Aug 30 12:51:00 EDT 2010


Author: astrid_emde
Date: 2010-08-30 16:51:00 +0000 (Mon, 30 Aug 2010)
New Revision: 6842

Modified:
   trunk/mapbender/http/classes/class_wms.php
Log:
update layer_title in gui_layer with title not with name

Modified: trunk/mapbender/http/classes/class_wms.php
===================================================================
--- trunk/mapbender/http/classes/class_wms.php	2010-08-30 16:27:35 UTC (rev 6841)
+++ trunk/mapbender/http/classes/class_wms.php	2010-08-30 16:51:00 UTC (rev 6842)
@@ -2112,7 +2112,7 @@
 
 				$sql1 = "UPDATE gui_layer SET gui_layer_title = $1 ";
 				$sql1 .= "WHERE fkey_layer_id = $2 and fkey_gui_id = $3";
-				$v = array($this->objLayer[$i]->layer_name, $l_id,$gui_id);
+				$v = array($this->objLayer[$i]->layer_title, $l_id,$gui_id);
 				$t = array('s', 'i','s');
 				$res1 = db_prep_query($sql1,$v,$t);
 				if(!$res1){



More information about the Mapbender_commits mailing list