[Mapbender-commits] r7060 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Oct 22 12:14:54 EDT 2010
Author: astrid_emde
Date: 2010-10-22 09:14:54 -0700 (Fri, 22 Oct 2010)
New Revision: 7060
Modified:
trunk/mapbender/http/php/mod_loadCapabilitiesList.php
Log:
http://trac.osgeo.org/mapbender/ticket/675 Update gui_layer_title when adding a WMS to an application
Modified: trunk/mapbender/http/php/mod_loadCapabilitiesList.php
===================================================================
--- trunk/mapbender/http/php/mod_loadCapabilitiesList.php 2010-10-22 12:41:03 UTC (rev 7059)
+++ trunk/mapbender/http/php/mod_loadCapabilitiesList.php 2010-10-22 16:14:54 UTC (rev 7060)
@@ -171,11 +171,12 @@
$cnt = 0;
while($row = db_fetch_array($res)){
$sql_ins = "INSERT INTO gui_layer (fkey_gui_id,fkey_layer_id,gui_layer_wms_id,gui_layer_status,gui_layer_selectable,";
- $sql_ins .= "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) ";
- $sql_ins .= "VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13)";
+ $sql_ins .= "gui_layer_visible,gui_layer_queryable,gui_layer_querylayer,gui_layer_minscale,gui_layer_maxscale,";
+ $sql_ins .= "gui_layer_priority,gui_layer_style,gui_layer_wfs_featuretype,gui_layer_title) ";
+ $sql_ins .= "VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14)";
$v = array($guiList,$row["fkey_layer_id"],$wmsID,$row["gui_layer_status"],$row["gui_layer_selectable"],
$row["gui_layer_visible"],$row["gui_layer_queryable"],$row["gui_layer_querylayer"],$row["gui_layer_minscale"],
- $row["gui_layer_maxscale"],$row["gui_layer_priority"],$row["gui_layer_style"],$row["gui_layer_wfs_featuretype"]);
+ $row["gui_layer_maxscale"],$row["gui_layer_priority"],$row["gui_layer_style"],$row["gui_layer_wfs_featuretype"],$row["gui_layer_title"]);
$t = array('s','i','i','i','i','i','i','i','i','i','i','s','s');
db_prep_query($sql_ins,$v,$t);
$cnt++;
More information about the Mapbender_commits
mailing list