[Mapbender-commits] r8502 - branches/2.7/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Oct 15 04:39:38 PDT 2012


Author: verenadiewald
Date: 2012-10-15 04:39:38 -0700 (Mon, 15 Oct 2012)
New Revision: 8502

Modified:
   branches/2.7/http/javascripts/initWmcObj.php
Log:
correct array params for prepared statement

Modified: branches/2.7/http/javascripts/initWmcObj.php
===================================================================
--- branches/2.7/http/javascripts/initWmcObj.php	2012-10-11 11:48:55 UTC (rev 8501)
+++ branches/2.7/http/javascripts/initWmcObj.php	2012-10-15 11:39:38 UTC (rev 8502)
@@ -60,7 +60,7 @@
 //check for caching element var for mapframe1
 $sql = "SELECT * from gui_element_vars WHERE fkey_gui_id = $1 AND fkey_e_id = 'mapframe1' AND var_name = 'loadFromCache'; ";
 $v = array($app);
-$t = array("s", "s");
+$t = array("s");
 $res = db_prep_query($sql, $v, $t);
 
 if ($row = db_fetch_array($res)) {



More information about the Mapbender_commits mailing list