svn commit: r241 - trunk/mapbender/http/javascripts/mod_loadwmc.php

uli at osgeo.org uli at osgeo.org
Thu May 11 08:12:42 EDT 2006


Author: uli
Date: 2006-05-11 12:12:42+0000
New Revision: 241

Modified:
   trunk/mapbender/http/javascripts/mod_loadwmc.php

Log:
db_query to db_prep_query

Modified: trunk/mapbender/http/javascripts/mod_loadwmc.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_loadwmc.php?view=diff&rev=241&p1=trunk/mapbender/http/javascripts/mod_loadwmc.php&p2=trunk/mapbender/http/javascripts/mod_loadwmc.php&r1=240&r2=241
==============================================================================
--- trunk/mapbender/http/javascripts/mod_loadwmc.php	(original)
+++ trunk/mapbender/http/javascripts/mod_loadwmc.php	2006-05-11 12:12:42+0000
@@ -26,7 +26,7 @@
 $sql = "SELECT e_src, e_target FROM gui_element WHERE e_id = 'savewmc' AND fkey_gui_id = $1";
 $v = array($gui_id);
 $t = array('s');
-$res = db_query($sql, $v, $t);
+$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