X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/fc8a4455218bc71e17697f33c111b9dbc55f8047..f490a9f5e080c426f54502d1004f8ab444d26469:/timesheet_edit.php diff --git a/timesheet_edit.php b/timesheet_edit.php index e98d824f..50d2a44d 100644 --- a/timesheet_edit.php +++ b/timesheet_edit.php @@ -72,7 +72,7 @@ if ($request->isPost()) { if ($err->no()) { if ($request->getParameter('btn_save')) { - $existing_timesheet = ttTimesheetHelper::getTimesheetByName($cl_name); + $existing_timesheet = ttTimesheetHelper::getTimesheetByName($cl_name, $timesheet['user_id']); if (!$existing_timesheet || ($cl_timesheet_id == $existing_timesheet['id'])) { // Update project information. if (ttTimesheetHelper::update(array(