X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9b5a1834db24f25803fc0d461394e4a2bfcc44b7..19f479eb795f39d331fbfe33ab20534112555630:/report.php diff --git a/report.php b/report.php index 31cee67a..53c73ee1 100644 --- a/report.php +++ b/report.php @@ -91,7 +91,7 @@ $options = ttReportHelper::getReportOptions($bean); // - We can sssign items to invoices. // - We can assign items to a timesheet. // Determine these conditions separately. -if ($bean->getAttribute('chapproved') && ($user->can('approve_reports') || $user->can('approve_all_eports'))) +if ($bean->getAttribute('chapproved') && ($user->can('approve_reports') || $user->can('approve_all_reports'))) $useMarkApproved = true; if ($bean->getAttribute('chpaid') && $user->can('manage_invoices')) $useMarkPaid = true;