]> wagnertech.de Git - timetracker.git/blobdiff - mobile/expense_edit.php
Finished refactoring of the FormElement class.
[timetracker.git] / mobile / expense_edit.php
index e14372eacfdfb2030e43a596042f184784169cfb..c2df1abb65e1bfd4a2d91c7907dcbe12ab5d75da 100644 (file)
@@ -33,7 +33,7 @@ import('DateAndTime');
 import('ttExpenseHelper');
 
 // Access check.
-if (!ttAccessCheck(right_data_entry)) {
+if (!ttAccessCheck(right_data_entry) || !$user->isPluginEnabled('ex')) {
   header('Location: access_denied.php');
   exit();
 }