X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/d40f3b7898583d430d651cc5210994cf55dd5b13..a6eb3d4378c5eb969eb3bd29abf0f2b4eb53feb9:/timesheet_view.php diff --git a/timesheet_view.php b/timesheet_view.php index e6368a39..d0198c78 100644 --- a/timesheet_view.php +++ b/timesheet_view.php @@ -60,7 +60,7 @@ $totals = ttReportHelper::getTotals($options); // Determine which controls to show and obtain date for them. $showSubmit = !$timesheet['submit_status']; if ($showSubmit) { - $approvers = ttTimesheetHelper::getApprovers($timesheet['user_id']); + $approvers = ttTimesheetHelper::getApprovers(); $showApprovers = count($approvers) >= 1; } $canApprove = $user->can('approve_timesheets') || $user->can('approve_own_timesheets');