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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 22 11:59:42 PDT 2015


Author: armin11
Date: 2015-06-22 11:59:42 -0700 (Mon, 22 Jun 2015)
New Revision: 9223

Modified:
   trunk/mapbender/http/classes/class_metadata_new.php
Log:
bugfix for invocation of class_administration.php

Modified: trunk/mapbender/http/classes/class_metadata_new.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata_new.php	2015-06-22 18:45:45 UTC (rev 9222)
+++ trunk/mapbender/http/classes/class_metadata_new.php	2015-06-22 18:59:42 UTC (rev 9223)
@@ -107,7 +107,7 @@
 		} else {
 			$this->tempFolder = TMPDIR;
 		}
-		
+
 		if ($this->outputFormat == 'json'){
 			$this->json = new Mapbender_JSON;
 		}
@@ -1443,8 +1443,8 @@
 		//TODO: Set Email of owner into view for ressource - so it don't have to be searched?
 		$return_permission = "";
 		//get permission
-		//$admin = new administration();
-		$myWFSconfs = $this->admin->getWfsConfByPermission($this->userId);
+		$admin = new administration();
+		$myWFSconfs = $admin->getWfsConfByPermission($this->userId);
 		$this->myWFSConfs = $myWFSconfs;
 		for ($index = 0; $index < sizeof($this->myWFSConfs); $index++) {
 			$array_element = $this->myWFSConfs[$index];



More information about the Mapbender_commits mailing list