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]
/
reports.php
diff --git
a/reports.php
b/reports.php
index
27a7224
..
fe56001
100644
(file)
--- a/
reports.php
+++ b/
reports.php
@@
-37,7
+37,7
@@
import('ttFavReportHelper');
import('ttClientHelper');
// Access check.
-if (!ttAccess
Check(right_view_reports
)) {
+if (!ttAccess
Allowed('view_own_reports'
)) {
header('Location: access_denied.php');
exit();
}