projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Intoduced audit fields for expenses.
[timetracker.git]
/
client_add.php
diff --git
a/client_add.php
b/client_add.php
index
d3ca5aa
..
8dbb0d8
100644
(file)
--- a/
client_add.php
+++ b/
client_add.php
@@
-32,7
+32,7
@@
import('ttClientHelper');
import('ttTeamHelper');
// Access check.
import('ttTeamHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
) || !$user->isPluginEnabled('cl')) {
+if (!ttAccess
Allowed('manage_clients'
) || !$user->isPluginEnabled('cl')) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}