[Mapbender-commits] r3206 - branches/2.5/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Nov 10 03:01:35 EST 2008
Author: astrid_emde
Date: 2008-11-10 03:01:35 -0500 (Mon, 10 Nov 2008)
New Revision: 3206
Modified:
branches/2.5/http/php/mod_treefolderClient.php
Log:
use $guiID instead of $guiList
http://trac.osgeo.org/mapbender/ticket/320
Modified: branches/2.5/http/php/mod_treefolderClient.php
===================================================================
--- branches/2.5/http/php/mod_treefolderClient.php 2008-11-07 10:21:35 UTC (rev 3205)
+++ branches/2.5/http/php/mod_treefolderClient.php 2008-11-10 08:01:35 UTC (rev 3206)
@@ -537,7 +537,7 @@
<?php
$sql = "SELECT id FROM gui_treegde WHERE fkey_gui_id = $1";
// $v and $t will be re-used below!
-$v = array($guiList);
+$v = array($guiID);
$t = array("s");
$res = db_prep_query($sql, $v, $t);
if(!db_fetch_row($res)){
@@ -553,7 +553,7 @@
$sql .= "FROM gui_treegde as n, gui_treegde as p WHERE n.lft BETWEEN p.lft AND p.rgt ";
$sql .= " AND n.fkey_gui_id = $1 AND p.fkey_gui_id = $2 ";
$sql .= " GROUP BY n.wms_id, n.lft, n.my_layer_title, ((n.rgt - n.lft -1)/2) , n.id, n.rgt, n.layer ORDER BY n.lft";
-$v = array($guiList, $guiList);
+$v = array($guiID, $guiID);
$t = array("s", "s");
$res = db_prep_query($sql, $v, $t);
echo "function initArray(){";
More information about the Mapbender_commits
mailing list