X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b859fc87dd294eaac78be9b19e11ef823d6e23f8..813f43a9406fb5adfb8c6e89cd97b06a11da58c9:/WEB-INF/lib/ttTimeHelper.class.php?ds=sidebyside diff --git a/WEB-INF/lib/ttTimeHelper.class.php b/WEB-INF/lib/ttTimeHelper.class.php index 7cbf4dda..222bcca4 100644 --- a/WEB-INF/lib/ttTimeHelper.class.php +++ b/WEB-INF/lib/ttTimeHelper.class.php @@ -474,7 +474,7 @@ class ttTimeHelper { $billable_part = $fields['billable'] ? ', billable = 1' : ', billable = 0'; } $paid_part = ''; - if ($user->canManageTeam() && $user->isPluginEnabled('ps')) { + if ($user->can('manage_invoices') && $user->isPluginEnabled('ps')) { $paid_part = $fields['paid'] ? ', paid = 1' : ', paid = 0'; }