[Fusionforge-commits] r12046 - in branches/Branch_5_1/src/www: reporting tracker/admin

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Jan 20 14:22:04 CET 2011


Author: lolando
Date: 2011-01-20 14:22:04 +0100 (Thu, 20 Jan 2011)
New Revision: 12046

Modified:
   branches/Branch_5_1/src/www/reporting/timeadd.php
   branches/Branch_5_1/src/www/tracker/admin/form-extrafieldcopy.php
Log:
Fixed function name in call

Modified: branches/Branch_5_1/src/www/reporting/timeadd.php
===================================================================
--- branches/Branch_5_1/src/www/reporting/timeadd.php	2011-01-20 13:10:02 UTC (rev 12045)
+++ branches/Branch_5_1/src/www/reporting/timeadd.php	2011-01-20 13:22:04 UTC (rev 12046)
@@ -100,7 +100,7 @@
 
 	if (!$group_project_id) {
 		$project_ids = array () ;
-		foreach (session_getuser()->getGroups() as $p) {
+		foreach (session_get_user()->getGroups() as $p) {
 			$project_ids[] = $p->getID() ;
 		}
 		

Modified: branches/Branch_5_1/src/www/tracker/admin/form-extrafieldcopy.php
===================================================================
--- branches/Branch_5_1/src/www/tracker/admin/form-extrafieldcopy.php	2011-01-20 13:10:02 UTC (rev 12045)
+++ branches/Branch_5_1/src/www/tracker/admin/form-extrafieldcopy.php	2011-01-20 13:22:04 UTC (rev 12046)
@@ -31,7 +31,7 @@
 // Get a list of all extra fields in trackers and groups that you have perms to admin
 
 $project_ids = array () ;
-foreach (session_getuser()->getGroups() as $p) {
+foreach (session_get_user()->getGroups() as $p) {
 	if (forge_check_perm ('tracker_admin', $p->getID())) {
 		$project_ids[] = $p->getID() ;
 	}




More information about the Fusionforge-commits mailing list