[Fusionforge-commits] r8634 - trunk/gforge/www/my

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Jan 5 18:20:38 CET 2010


Author: aljeux
Date: 2010-01-05 18:20:37 +0100 (Tue, 05 Jan 2010)
New Revision: 8634

Modified:
   trunk/gforge/www/my/index.php
Log:
Hack to prevent errors in /my page

Modified: trunk/gforge/www/my/index.php
===================================================================
--- trunk/gforge/www/my/index.php	2010-01-05 17:20:31 UTC (rev 8633)
+++ trunk/gforge/www/my/index.php	2010-01-05 17:20:37 UTC (rev 8634)
@@ -112,6 +112,9 @@
 			}
 			//if ($task->getProjectGroup()->getID() != $last_group) {
 			$projectGroup =& $task->getProjectGroup();
+			// Hack to prevent errors when there is an error.
+			if (!$projectGroup) 
+				continue;
 			$group =& $projectGroup->getGroup();
 			if ($projectGroup->getID() != $last_group) {
 				echo '




More information about the Fusionforge-commits mailing list