[Mapbender-commits] r2006 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 22 06:44:46 EST 2008


Author: astrid_emde
Date: 2008-01-22 06:44:45 -0500 (Tue, 22 Jan 2008)
New Revision: 2006

Modified:
   branches/2.5/http/javascripts/mod_wfs_SpatialRequest.php
Log:
function parameter was missing in db_prep_query

Modified: branches/2.5/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- branches/2.5/http/javascripts/mod_wfs_SpatialRequest.php	2008-01-22 08:49:11 UTC (rev 2005)
+++ branches/2.5/http/javascripts/mod_wfs_SpatialRequest.php	2008-01-22 11:44:45 UTC (rev 2006)
@@ -35,7 +35,7 @@
 $sql = "SELECT e_src, e_target FROM gui_element WHERE e_id = 'setSpatialRequest' AND fkey_gui_id = $1";
 $v = array($gui_id);
 $t = array("s");
-$res = db_prep_query($sql);
+$res = db_prep_query($sql, $v, $t);
 $cnt = 0;
 while($row = db_fetch_array($res)){ 
    $e_src = $row["e_src"];



More information about the Mapbender_commits mailing list