[Fusionforge-commits] r17771 - trunk/src/www/pm

Marc-Etienne VARGENAU vargenau at fusionforge.org
Thu Aug 22 11:18:17 CEST 2013


Author: vargenau
Date: 2013-08-22 11:18:17 +0200 (Thu, 22 Aug 2013)
New Revision: 17771

Modified:
   trunk/src/www/pm/task.php
Log:
g --> group

Modified: trunk/src/www/pm/task.php
===================================================================
--- trunk/src/www/pm/task.php	2013-08-22 09:06:11 UTC (rev 17770)
+++ trunk/src/www/pm/task.php	2013-08-22 09:18:17 UTC (rev 17771)
@@ -76,14 +76,14 @@
 	exit_missing_param($redirect_url,$missing_params,'pm');
 }
 
-$g = group_get_object($group_id);
-if (!$g || !is_object($g)) {
+$group = group_get_object($group_id);
+if (!$group || !is_object($group)) {
 	exit_no_group();
-} elseif ($g->isError()) {
-	exit_error($g->getErrorMessage(),'pm');
+} elseif ($group->isError()) {
+	exit_error($group->getErrorMessage(),'pm');
 }
 
-$pg = new ProjectGroupHTML($g,$group_project_id);
+$pg = new ProjectGroupHTML($group,$group_project_id);
 if (!$pg || !is_object($pg)) {
 	exit_error(_('Could Not Get Factory'),'pm');
 } elseif ($pg->isError()) {




More information about the Fusionforge-commits mailing list