Commit 8cc19d62 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix regression in timesheet_period change.

parent 7c79fbc5
...@@ -165,6 +165,7 @@ if (intval($obj->timesheet_worked)) { ...@@ -165,6 +165,7 @@ if (intval($obj->timesheet_worked)) {
// or in case of mouse click on the delete icon it will set to '1' by javaScript (delete object with given timesheet_id) // or in case of mouse click on the delete icon it will set to '1' by javaScript (delete object with given timesheet_id)
echo '<input type="hidden" name="del" value="0" />'; echo '<input type="hidden" name="del" value="0" />';
echo '<input type="hidden" name="stat" value="0" />'; echo '<input type="hidden" name="stat" value="0" />';
echo '<input type="hidden" name="workperiod" value="0" />';
// the value of timesheet_id will be the id of the timesheet to edit // the value of timesheet_id will be the id of the timesheet to edit
// or in case of addition of a new timesheet it will contain '0' as value // or in case of addition of a new timesheet it will contain '0' as value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment