X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/eb300930267977a1caac0355200467e4bdf8b655..decf7058c3d2cc57fa2f814f33e7c09b264ff854:/timesheet_add.php diff --git a/timesheet_add.php b/timesheet_add.php index fa32ca7f..fa8ec4f8 100644 --- a/timesheet_add.php +++ b/timesheet_add.php @@ -64,7 +64,7 @@ if ($request->isPost()) { $user_id = $bean->getDetachedAttribute('timesheet_user_id'); if (!ttTimesheetHelper::getTimesheetByName($cl_name, $user_id)) { if (ttTimesheetHelper::insert(array('user_id' => $user_id, - // 'client_id' => ? + 'client_id' => $bean->getAttribute('client'), 'name' => $cl_name, 'comment' => $cl_comment))) { header('Location: timesheets.php');