[Mapbender-commits] r2301 - branches/2.5/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Mar 26 08:57:12 EDT 2008


Author: verenadiewald
Date: 2008-03-26 08:57:12 -0400 (Wed, 26 Mar 2008)
New Revision: 2301

Modified:
   branches/2.5/http/php/mod_wfs_edit.php
Log:
removed function addslashes from update sql for f_form_element_html

Modified: branches/2.5/http/php/mod_wfs_edit.php
===================================================================
--- branches/2.5/http/php/mod_wfs_edit.php	2008-03-26 08:57:24 UTC (rev 2300)
+++ branches/2.5/http/php/mod_wfs_edit.php	2008-03-26 12:57:12 UTC (rev 2301)
@@ -134,7 +134,7 @@
                 	$sql .= '1';
                 }else{$sql .= '0';}
 				$sql .= "',";
-                $sql .= "f_form_element_html = '".addslashes($_REQUEST["f_form_element_html".$i]);
+                $sql .= "f_form_element_html = '".$_REQUEST["f_form_element_html".$i];
 				$sql .= "',";
                 $sql .= "f_mandatory = '";
                 if(!empty($_REQUEST["f_mandatory".$i])){



More information about the Mapbender_commits mailing list