]> wagnertech.de Git - timetracker.git/blobdiff - timesheet_view.php
Some more work on timesheets.
[timetracker.git] / timesheet_view.php
index e6368a396439687d617f61481592757675b30c4a..d0198c780ca6e51622d8db2d3e55986b43252987 100644 (file)
@@ -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');