]> wagnertech.de Git - timetracker.git/blobdiff - mobile/expense_edit.php
Access checks re-done using role rights.
[timetracker.git] / mobile / expense_edit.php
index a4b1f2d0147634080c5c28e3a70b03d1a7e5c0c3..e54ffb05872e528b745398b81af61cba1c3498f5 100644 (file)
@@ -33,7 +33,7 @@ import('DateAndTime');
 import('ttExpenseHelper');
 
 // Access check.
-if (!ttAccessCheck(right_data_entry) || !$user->isPluginEnabled('ex')) {
+if (!ttAccessAllowed('data_entry') || !$user->isPluginEnabled('ex')) {
   header('Location: access_denied.php');
   exit();
 }