[Mapbender-commits] r2899 - branches/2.5/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 1 04:06:38 EDT 2008
Author: astrid_emde
Date: 2008-09-01 04:06:38 -0400 (Mon, 01 Sep 2008)
New Revision: 2899
Modified:
branches/2.5/http/classes/class_wmc.php
Log:
column wmc_id is of type varchar, therefore array("s") has to be used instead of array("i")
Modified: branches/2.5/http/classes/class_wmc.php
===================================================================
--- branches/2.5/http/classes/class_wmc.php 2008-08-29 10:30:48 UTC (rev 2898)
+++ branches/2.5/http/classes/class_wmc.php 2008-09-01 08:06:38 UTC (rev 2899)
@@ -665,7 +665,7 @@
$sql = "SELECT wmc FROM mb_user_wmc WHERE wmc_id = $1";
$v = array($wmc_id);
- $t = array("i");
+ $t = array("s");
$res = db_prep_query($sql, $v, $t);
$wmc = db_fetch_row($res);
$this->createObjFromWMC_xml($wmc[0]);
More information about the Mapbender_commits
mailing list