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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Feb 26 07:53:49 EST 2011


Author: astrid_emde
Date: 2011-02-26 04:53:48 -0800 (Sat, 26 Feb 2011)
New Revision: 7651

Modified:
   trunk/mapbender/http/classes/class_gui.php
Log:
also copy layer_title when a gui is copied

Modified: trunk/mapbender/http/classes/class_gui.php
===================================================================
--- trunk/mapbender/http/classes/class_gui.php	2011-02-25 17:29:07 UTC (rev 7650)
+++ trunk/mapbender/http/classes/class_gui.php	2011-02-26 12:53:48 UTC (rev 7651)
@@ -429,7 +429,7 @@
 			array_push($v, array($newGuiName, $guiList));
 			array_push($t, array("s", "s"));
 
-			array_push($sql, "INSERT INTO gui_layer (fkey_gui_id, fkey_layer_id, gui_layer_wms_id, gui_layer_status, gui_layer_selectable, gui_layer_visible, gui_layer_queryable, gui_layer_querylayer, gui_layer_minscale, gui_layer_maxscale, gui_layer_priority, gui_layer_style, gui_layer_wfs_featuretype) SELECT $1, fkey_layer_id, gui_layer_wms_id, gui_layer_status, gui_layer_selectable, gui_layer_visible, gui_layer_queryable, gui_layer_querylayer, gui_layer_minscale, gui_layer_maxscale, gui_layer_priority, gui_layer_style, gui_layer_wfs_featuretype FROM gui_layer WHERE fkey_gui_id = $2;");
+			array_push($sql, "INSERT INTO gui_layer (fkey_gui_id, fkey_layer_id, gui_layer_wms_id, gui_layer_status, gui_layer_selectable, gui_layer_visible, gui_layer_queryable, gui_layer_querylayer, gui_layer_minscale, gui_layer_maxscale, gui_layer_priority, gui_layer_style, gui_layer_wfs_featuretype,gui_layer_title) SELECT $1, fkey_layer_id, gui_layer_wms_id, gui_layer_status, gui_layer_selectable, gui_layer_visible, gui_layer_queryable, gui_layer_querylayer, gui_layer_minscale, gui_layer_maxscale, gui_layer_priority, gui_layer_style, gui_layer_wfs_featuretype,gui_layer_title FROM gui_layer WHERE fkey_gui_id = $2;");
 			array_push($v, array($newGuiName, $guiList));
 			array_push($t, array("s", "s"));
 



More information about the Mapbender_commits mailing list