X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=timesheet_view.php;h=d0198c780ca6e51622d8db2d3e55986b43252987;hb=d5923832a32b1f43cbc6c5d74bbd064888761c80;hp=e6368a396439687d617f61481592757675b30c4a;hpb=d40f3b7898583d430d651cc5210994cf55dd5b13;p=timetracker.git 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');