projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extended right set for more flexibility.
[timetracker.git]
/
invoice_send.php
diff --git
a/invoice_send.php
b/invoice_send.php
index
eb4b2a3
..
ee333a6
100644
(file)
--- a/
invoice_send.php
+++ b/
invoice_send.php
@@
-32,7
+32,7
@@
import('ttInvoiceHelper');
import('ttSysConfig');
// Access check.
-if (!ttAccess
Check(right_view_invoices
) || !$user->isPluginEnabled('iv')) {
+if (!ttAccess
Allowed('manage_invoices'
) || !$user->isPluginEnabled('iv')) {
header('Location: access_denied.php');
exit();
}