]> wagnertech.de Git - timetracker.git/blobdiff - mobile/expense_edit.php
Moving away from using the timestamp field.
[timetracker.git] / mobile / expense_edit.php
index a4b1f2d0147634080c5c28e3a70b03d1a7e5c0c3..fff249e7709a25fe705c88409efd9774986b03c0 100644 (file)
@@ -33,7 +33,7 @@ import('DateAndTime');
 import('ttExpenseHelper');
 
 // Access check.
-if (!ttAccessCheck(right_data_entry) || !$user->isPluginEnabled('ex')) {
+if (!ttAccessAllowed('track_own_expenses') || !$user->isPluginEnabled('ex')) {
   header('Location: access_denied.php');
   exit();
 }