[Mapbender-commits] r2981 - branches/tree_dev/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 18 09:36:35 EDT 2008


Author: christoph
Date: 2008-09-18 09:36:35 -0400 (Thu, 18 Sep 2008)
New Revision: 2981

Modified:
   branches/tree_dev/http/php/mod_customTree_server.php
Log:
debug

Modified: branches/tree_dev/http/php/mod_customTree_server.php
===================================================================
--- branches/tree_dev/http/php/mod_customTree_server.php	2008-09-18 13:35:24 UTC (rev 2980)
+++ branches/tree_dev/http/php/mod_customTree_server.php	2008-09-18 13:36:35 UTC (rev 2981)
@@ -59,7 +59,7 @@
 		$applicationId = $queryObj->parameters->applicationId;
 
 		// get all of the users applications
-		$allowedApplicationArray = $user->getApplicationsByPermission();
+		$allowedApplicationArray = $user->getApplicationsByPermission(0);
 
 		if (in_array($applicationId, $allowedApplicationArray)) {
 			$sql = "SELECT b.wms_id AS id, b.wms_title AS title " . 
@@ -86,7 +86,7 @@
 		$applicationId = $queryObj->parameters->applicationId;
 
 		// get all of the users applications
-		$allowedApplicationArray = $user->getApplicationsByPermission();
+		$allowedApplicationArray = $user->getApplicationsByPermission(0);
 
 		if (in_array($applicationId, $allowedApplicationArray)) {
 			$sql = "SELECT lft, rgt, my_layer_title, wms_id " . 



More information about the Mapbender_commits mailing list