]> wagnertech.de Git - timetracker.git/blobdiff - mobile/time_edit.php
Some more refactoring.
[timetracker.git] / mobile / time_edit.php
index 73496ca412f892e31be362fa5836d97be0a6003e..25c5c92c386a9dfce8ba364eb646a7d499116345 100644 (file)
@@ -35,7 +35,7 @@ import('ttTimeHelper');
 import('DateAndTime');
 
 // Access check.
-if (!ttAccessCheck(right_data_entry)) {
+if (!ttAccessAllowed('track_own_time')) {
   header('Location: access_denied.php');
   exit();
 }