[Fusionforge-commits] r7471 - in trunk/gforge/www: pm survey/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Apr 22 19:06:27 CEST 2009


Author: aljeux
Date: 2009-04-22 19:06:27 +0200 (Wed, 22 Apr 2009)
New Revision: 7471

Modified:
   trunk/gforge/www/pm/postuploadcsv.php
   trunk/gforge/www/survey/admin/show_results.php
Log:
Clear php warnings on references

Modified: trunk/gforge/www/pm/postuploadcsv.php
===================================================================
--- trunk/gforge/www/pm/postuploadcsv.php	2009-04-22 08:09:26 UTC (rev 7470)
+++ trunk/gforge/www/pm/postuploadcsv.php	2009-04-22 17:06:27 UTC (rev 7471)
@@ -42,7 +42,7 @@
 	
 }
 
-$res=&pm_import_tasks($group_project_id, &$tasks);
+$res=&pm_import_tasks($group_project_id, $tasks);
 
 if ($res['success']) {
 	$feedback .= 'Import Was Successful';

Modified: trunk/gforge/www/survey/admin/show_results.php
===================================================================
--- trunk/gforge/www/survey/admin/show_results.php	2009-04-22 08:09:26 UTC (rev 7470)
+++ trunk/gforge/www/survey/admin/show_results.php	2009-04-22 17:06:27 UTC (rev 7471)
@@ -128,7 +128,7 @@
  */
 function ShowResult(&$SurveyHTML, &$Survey, &$Question, $show_comment=0, $q_num="", $graph=0) {
     /* Get results */
-    $srf = new SurveyResponseFactory(&$Survey, &$Question);
+    $srf = new SurveyResponseFactory($Survey, $Question);
     if (!$srf || !is_object($srf)) {
 	echo "<h3>"._('Error'). ' Can not get Survey Response Factory' ."</h3>";
     } else if ( $srf->isError()) {




More information about the Fusionforge-commits mailing list