[Fusionforge-commits] r9864 - trunk/gforge/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Fri May 21 10:57:54 CEST 2010


Author: lolando
Date: 2010-05-21 10:57:54 +0200 (Fri, 21 May 2010)
New Revision: 9864

Modified:
   trunk/gforge/common/include/RBAC.php
Log:
Use correct variable name

Modified: trunk/gforge/common/include/RBAC.php
===================================================================
--- trunk/gforge/common/include/RBAC.php	2010-05-21 08:35:44 UTC (rev 9863)
+++ trunk/gforge/common/include/RBAC.php	2010-05-21 08:57:54 UTC (rev 9864)
@@ -417,12 +417,12 @@
 
 		if (USE_PFO_RBAC) {
 			$sections = array ('project_read', 'project_admin', 'frs', 'scm', 'docman', 'tracker_admin', 'new_tracker', 'forum_admin', 'new_forum', 'pm_admin', 'new_pm', 'webcal') ;
-			foreach ($arr as $section) {
+			foreach ($sections as $section) {
 				$result[$section][$group_id] = $this->getVal ($section, $group_id) ;
 			}
 		} else {
 			$sections = array ('projectadmin', 'frs', 'scm', 'docman', 'trackeradmin', 'newtracker', 'forumadmin', 'newforum', 'pmadmin', 'newpm', 'webcal') ;
-			foreach ($arr as $section) {
+			foreach ($sections as $section) {
 				$result[$section][0] = $this->getVal ($section, 0) ;
 			}
 		}




More information about the Fusionforge-commits mailing list