[Mapbender-commits] r7024 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Oct 4 12:09:24 EDT 2010


Author: christoph
Date: 2010-10-04 16:09:24 +0000 (Mon, 04 Oct 2010)
New Revision: 7024

Modified:
   trunk/mapbender/http/php/mod_wmc2ol.php
Log:
wmc_serial_id is now the new unique column of mb_user_wmc

Modified: trunk/mapbender/http/php/mod_wmc2ol.php
===================================================================
--- trunk/mapbender/http/php/mod_wmc2ol.php	2010-10-04 15:43:17 UTC (rev 7023)
+++ trunk/mapbender/http/php/mod_wmc2ol.php	2010-10-04 16:09:24 UTC (rev 7024)
@@ -116,7 +116,7 @@
 function createOlFromWMC_id($wmc_id){
 	global $userId;
 	//Get WMC out of mb Database
-	$sql = "SELECT wmc FROM mb_user_wmc WHERE wmc_id = $1";
+	$sql = "SELECT wmc FROM mb_user_wmc WHERE wmc_serial_id = $1";
 	$res = db_prep_query($sql, array($wmc_id), array("s"));
 	$wmc = db_fetch_row($res);
 	//Read out WMC into XML object



More information about the Mapbender_commits mailing list