projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some refactoring.
[timetracker.git]
/
tofile.php
diff --git
a/tofile.php
b/tofile.php
index
6849b7f
..
1b367e2
100644
(file)
--- a/
tofile.php
+++ b/
tofile.php
@@
-32,7
+32,7
@@
import('form.ActionForm');
import('ttReportHelper');
// Access check.
-if (!ttAccess
Check(right_view_reports
)) {
+if (!ttAccess
Allowed('view_own_reports'
)) {
header('Location: access_denied.php');
exit();
}