[Fusionforge-commits] r12204 - trunk/src/www/tracker/include

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Feb 9 19:04:04 CET 2011


Author: lolando
Date: 2011-02-09 19:04:03 +0100 (Wed, 09 Feb 2011)
New Revision: 12204

Modified:
   trunk/src/www/tracker/include/ArtifactTypeHtml.class.php
Log:
Use appropriate object

Modified: trunk/src/www/tracker/include/ArtifactTypeHtml.class.php
===================================================================
--- trunk/src/www/tracker/include/ArtifactTypeHtml.class.php	2011-02-09 15:51:18 UTC (rev 12203)
+++ trunk/src/www/tracker/include/ArtifactTypeHtml.class.php	2011-02-09 18:04:03 UTC (rev 12204)
@@ -297,7 +297,7 @@
 
 		$taskcount = db_numrows($ah->getRelatedTasks());
 		
-		if (forge_check_perm ('tracker_admin', $this->ArtifactType->Group->getID())) {
+		if (forge_check_perm ('tracker_admin', $ah->ArtifactType->Group->getID())) {
 			$is_admin=false;
 		} else {
 			$is_admin=true;




More information about the Fusionforge-commits mailing list