X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Fexpenses.php;h=40b3a342ee0339fbc740e2da008e7b1ea85e41ab;hb=a83b2420a2de428f82c8cc64343bd1fdb8ff4a5e;hp=24c78ce0bca95b81f734a8de84cd7df0341f8dfd;hpb=b401022733a9645ed701522585b2d57db936f5cc;p=timetracker.git diff --git a/mobile/expenses.php b/mobile/expenses.php index 24c78ce0..40b3a342 100644 --- a/mobile/expenses.php +++ b/mobile/expenses.php @@ -34,7 +34,7 @@ import('DateAndTime'); import('ttExpenseHelper'); // Access check. -if (!ttAccessAllowed('data_entry') || !$user->isPluginEnabled('ex')) { +if (!ttAccessAllowed('track_own_expenses') || !$user->isPluginEnabled('ex')) { header('Location: access_denied.php'); exit(); }