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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Mar 12 06:35:48 EDT 2007


Author: christoph
Date: 2007-03-12 06:35:48 -0400 (Mon, 12 Mar 2007)
New Revision: 1216

Modified:
   trunk/mapbender/http/php/mod_editGuiWms.php
Log:
addition to bugfix 
http://trac.osgeo.org/mapbender/ticket/11

Modified: trunk/mapbender/http/php/mod_editGuiWms.php
===================================================================
--- trunk/mapbender/http/php/mod_editGuiWms.php	2007-03-12 09:31:55 UTC (rev 1215)
+++ trunk/mapbender/http/php/mod_editGuiWms.php	2007-03-12 10:35:48 UTC (rev 1216)
@@ -403,10 +403,26 @@
    $cnt_wf++;
  }
 #gui_layer
-$sql_gl = "SELECT * FROM layer AS l, gui_layer AS gl WHERE  l.layer_id = gl.fkey_layer_id AND gl.gui_layer_wms_id = $1 AND gl.fkey_gui_id = $2 ORDER BY l.layer_pos";
+$sql_gl = "SELECT * FROM layer AS l, gui_layer AS gl WHERE l.layer_id = gl.fkey_layer_id AND gl.gui_layer_wms_id = $1 AND gl.fkey_gui_id = $2 ORDER BY l.layer_pos";
 $v = array($wmsList,$guiList);
 $t = array('i','s');
 $res_gl = db_prep_query($sql_gl,$v,$t);
+$gui_layer_status = array();
+$gui_layer_selectable = array();
+$gui_layer_visible = array();
+$gui_layer_queryable = array();
+$gui_layer_querylayer = array();
+$gui_layer_minscale = array();
+$gui_layer_maxscale = array();
+$gui_layer_priority = array();
+$gui_layer_wfs_featuretype = array();
+$layer_id = array();
+$layer_parent = array();
+$layer_name = array();
+$layer_title = array();
+$layer_queryable = array();
+$layer_minscale = array();
+$layer_maxscale = array();
 while($row = db_fetch_array($res_gl)){
 	array_push($gui_layer_status, $row["gui_layer_status"]);
 	array_push($gui_layer_selectable, $row["gui_layer_selectable"]);



More information about the Mapbender_commits mailing list