projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some cleanup and refactoring of role_id update.
[timetracker.git]
/
invoice_add.php
diff --git
a/invoice_add.php
b/invoice_add.php
index
0e752dc
..
01b7761
100644
(file)
--- a/
invoice_add.php
+++ b/
invoice_add.php
@@
-32,7
+32,7
@@
import('ttTeamHelper');
import('ttInvoiceHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
) || !$user->isPluginEnabled('iv')) {
+if (!ttAccess
Allowed('manage_invoices'
) || !$user->isPluginEnabled('iv')) {
header('Location: access_denied.php');
exit();
}