]> wagnertech.de Git - timetracker.git/blobdiff - expense_delete.php
Fixed charts to allow display of totals for unassigned projects and tasks.
[timetracker.git] / expense_delete.php
index 38800b629d21fc1687022abccaa470a7013c9bd7..c5f53aa91f87e05ec1fa275c7b539db9dcdbed24 100644 (file)
@@ -32,7 +32,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();
 }