Split data_entry right into track_time and track_expenses.
[timetracker.git] / time_edit.php
index b665bf8..3f2035c 100644 (file)
@@ -35,7 +35,7 @@ import('ttTimeHelper');
 import('DateAndTime');
 
 // Access check.
-if (!ttAccessAllowed('data_entry')) {
+if (!ttAccessAllowed('track_own_time')) {
   header('Location: access_denied.php');
   exit();
 }