projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced intval() calls with a faster cast to int.
[timetracker.git]
/
invoice_add.php
diff --git
a/invoice_add.php
b/invoice_add.php
index
f68753f
..
0e752dc
100644
(file)
--- a/
invoice_add.php
+++ b/
invoice_add.php
@@
-32,7
+32,7
@@
import('ttTeamHelper');
import('ttInvoiceHelper');
// Access check.
import('ttInvoiceHelper');
// Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team)
|| !$user->isPluginEnabled('iv')
) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}