X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Fexpense_edit.php;h=fff249e7709a25fe705c88409efd9774986b03c0;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=a4b1f2d0147634080c5c28e3a70b03d1a7e5c0c3;hpb=ad98b13400fdc2fa2299a22c9bd54c4cd27960c3;p=timetracker.git diff --git a/mobile/expense_edit.php b/mobile/expense_edit.php index a4b1f2d0..fff249e7 100644 --- a/mobile/expense_edit.php +++ b/mobile/expense_edit.php @@ -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(); }