From: anuko Date: Sat, 6 Jan 2018 17:25:29 +0000 (+0000) Subject: Improved a comment to clarify a point. X-Git-Tag: timetracker_1.19-1~1395 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a1bcddb8eac5b2a60f907a8614ca2000bc9ebe42;p=timetracker.git Improved a comment to clarify a point. --- diff --git a/week.php b/week.php index 7afcb401..19476c8b 100644 --- a/week.php +++ b/week.php @@ -353,8 +353,10 @@ if ($request->isPost()) { $record['project_id'] = $cl_project; $record['task_id'] = $cl_task; $record['cf_1_value'] = $cl_cf_1; - $fields['row_id'] = ttWeekViewHelper::makeRowIdentifier($record).'_0'; // TODO: Handle a possible conflict with already existing row... - // We may have to increment the suffix here. + $fields['row_id'] = ttWeekViewHelper::makeRowIdentifier($record).'_0'; + // Note: no need to check for a possible conflict with an already existing row + // because we are doing an insert that does not affect already existing data. + $fields['note'] = $cl_note; } $fields['day_header'] = $dayHeader;