X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=quotas.php;h=c921fba4ccad3748af38bd12298b488e6c3d9160;hb=e02d7592b0556895e35f4d028939197c132f6b09;hp=19e70e50529fb67a48673a3de3e666aa5081ddda;hpb=fd0872d9e582113346fa1e93557f370286c5c9f2;p=timetracker.git diff --git a/quotas.php b/quotas.php index 19e70e50..c921fba4 100644 --- a/quotas.php +++ b/quotas.php @@ -32,11 +32,15 @@ import('form.Form'); import('ttTeamHelper'); import('ttTimeHelper'); -// Access check. -if (!ttAccessAllowed('manage_advanced_settings') || !$user->isPluginEnabled('mq')) { +// Access checks. +if (!ttAccessAllowed('manage_advanced_settings')) { header('Location: access_denied.php'); exit(); } +if (!$user->isPluginEnabled('mq')) { + header('Location: feature_disabled.php'); + exit(); +} // Start and end fallback values for the Year dropdown. $yearStart = 2015;