[Mapbender-commits] r1742 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 26 06:16:07 EDT 2007


Author: christoph
Date: 2007-10-26 06:16:07 -0400 (Fri, 26 Oct 2007)
New Revision: 1742

Modified:
   trunk/mapbender/http/classes/class_checkInput.php
Log:
reverted removal of bug fix (prepared statements + mysql misconfiguration)

Modified: trunk/mapbender/http/classes/class_checkInput.php
===================================================================
--- trunk/mapbender/http/classes/class_checkInput.php	2007-10-26 10:14:44 UTC (rev 1741)
+++ trunk/mapbender/http/classes/class_checkInput.php	2007-10-26 10:16:07 UTC (rev 1742)
@@ -29,7 +29,7 @@
 		if(count($v) != count($t)){
 			$e = new mb_exception("array params and array types have a different count  in ".$_SERVER['SCRIPT_FILENAME'].": Sql: ".$q);
 		}
-		if(PREPAREDSTATEMENTS == true){
+		if(PREPAREDSTATEMENTS == true && SYS_DBTYPE == "pgsql"){
 			$this->v = $v;
 		}
 		else{



More information about the Mapbender_commits mailing list