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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Apr 10 00:42:39 PDT 2014


Author: armin11
Date: 2014-04-10 00:42:38 -0700 (Thu, 10 Apr 2014)
New Revision: 8810

Modified:
   trunk/mapbender/http/classes/class_wms.php
Log:
Bugfix for metadata role system (update wms holds now contact from metadata group)

Modified: trunk/mapbender/http/classes/class_wms.php
===================================================================
--- trunk/mapbender/http/classes/class_wms.php	2014-04-01 14:34:09 UTC (rev 8809)
+++ trunk/mapbender/http/classes/class_wms.php	2014-04-10 07:42:38 UTC (rev 8810)
@@ -2642,7 +2642,7 @@
 		//they don't come from the capabilities!
 		if (!$updateMetadataOnly) {
 			//read network_access from database
-			$sql = "SELECT wms_network_access, wms_max_imagesize, inspire_annual_requests from wms WHERE wms_id = $1 ";
+			$sql = "SELECT wms_network_access, fkey_mb_group_id, wms_max_imagesize, inspire_annual_requests from wms WHERE wms_id = $1 ";
 			$v = array($myWMS);
 			$t = array('i');
 			$res = db_prep_query($sql,$v,$t);
@@ -2650,6 +2650,7 @@
 			$this->wms_network_access = $row["wms_network_access"];
 			$this->wms_max_imagesize = $row["wms_max_imagesize"];
 			$this->inspire_annual_requests = $row["inspire_annual_requests"];
+			$this->fkey_mb_group_id = $row["fkey_mb_group_id"];
 		}
 		//if network access is either stored in database nor given thru object, set it too a default value 0
 		if (!isset($this->wms_network_access) || ($this->wms_network_access == '')) {



More information about the Mapbender_commits mailing list