[Fusionforge-commits] r11811 - branches/Branch_5_1/src/www/project/report

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Dec 15 14:52:02 CET 2010


Author: lolando
Date: 2010-12-15 14:52:02 +0100 (Wed, 15 Dec 2010)
New Revision: 11811

Modified:
   branches/Branch_5_1/src/www/project/report/index.php
Log:
Fixed variable name

Modified: branches/Branch_5_1/src/www/project/report/index.php
===================================================================
--- branches/Branch_5_1/src/www/project/report/index.php	2010-12-15 13:49:40 UTC (rev 11810)
+++ branches/Branch_5_1/src/www/project/report/index.php	2010-12-15 13:52:02 UTC (rev 11811)
@@ -146,7 +146,7 @@
 	echo '
 		<tr><td>';
 	$link = util_make_link_u ($member->getUnixName(), $member->getID(), $member->getRealName()) ;
-	if ( RBACEngine::getInstance()->isActionAllowedForUser($member,'project_admin',$project->getID())) {
+	if ( RBACEngine::getInstance()->isActionAllowedForUser($member,'project_admin',$group->getID())) {
 		echo '<strong>'.$link.'</strong>' ;
 	} else {
 		echo $link ;
@@ -167,7 +167,7 @@
 		}
 		$role_string = implode (', ', $role_names) ;
 	} else {
-		$role_string = $user->getRole ($project)->getName() ;
+		$role_string = $user->getRole ($group)->getName() ;
 	}
 
 				echo '




More information about the Fusionforge-commits mailing list