[Fusionforge-commits] r17877 - trunk/src/common/reporting

Marc-Etienne VARGENAU vargenau at fusionforge.org
Fri Aug 30 18:23:56 CEST 2013


Author: vargenau
Date: 2013-08-30 18:23:56 +0200 (Fri, 30 Aug 2013)
New Revision: 17877

Modified:
   trunk/src/common/reporting/TimeEntry.class.php
Log:
global $feedback; fix variable name

Modified: trunk/src/common/reporting/TimeEntry.class.php
===================================================================
--- trunk/src/common/reporting/TimeEntry.class.php	2013-08-30 16:15:12 UTC (rev 17876)
+++ trunk/src/common/reporting/TimeEntry.class.php	2013-08-30 16:23:56 UTC (rev 17877)
@@ -76,8 +76,10 @@
      * 'successfully added'.
      *
      */
-    function create($projectTaskId, $week, $daysAdjust, $timeCode, $hours)
+    function create($projectTaskId, $week, $days_adjust, $timeCode, $hours)
     {
+		global $feedback;
+
         $report_date=($week + ($days_adjust*REPORT_DAY_SPAN))+(12*60*60);
         $res = db_query_params ('INSERT INTO rep_time_tracking (user_id,week,report_date,project_task_id,time_code,hours) VALUES ($1,$2,$3,$4,$5,$6)',
 				array (user_getid(),




More information about the Fusionforge-commits mailing list