[Mapbender-commits] r2087 - branches/2.5/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Feb 14 09:40:34 EST 2008


Author: verenadiewald
Date: 2008-02-14 09:40:34 -0500 (Thu, 14 Feb 2008)
New Revision: 2087

Modified:
   branches/2.5/http/classes/class_wfs.php
Log:
removed bug from line 485: missing prepared statements params

Modified: branches/2.5/http/classes/class_wfs.php
===================================================================
--- branches/2.5/http/classes/class_wfs.php	2008-02-14 08:43:00 UTC (rev 2086)
+++ branches/2.5/http/classes/class_wfs.php	2008-02-14 14:40:34 UTC (rev 2087)
@@ -482,7 +482,7 @@
 		$sql .= "VALUES($1, $2);";
 		$v = array($gui_id, $this->wfs_id);
 		$t = array("s", "i");
-		$res = db_prep_query($sql);
+		$res = db_prep_query($sql, $v, $t);
 
 		if (!$res) {
 			db_rollback();



More information about the Mapbender_commits mailing list