projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added override_date_lock right to supervisors.
[timetracker.git]
/
report_send.php
diff --git
a/report_send.php
b/report_send.php
index
a19756a
..
9be9676
100644
(file)
--- a/
report_send.php
+++ b/
report_send.php
@@
-33,7
+33,7
@@
import('ttSysConfig');
import('ttReportHelper');
// Access check.
import('ttReportHelper');
// Access check.
-if (!ttAccess
Check(right_view_reports
)) {
+if (!ttAccess
Allowed('view_own_reports'
)) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}