X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3c5f822f90846e9a65866c9e33b7e1ff81b46b1f..80d8ba7ca7444b575edc4930ee45e46dca66144b:/time.php diff --git a/time.php b/time.php index 68aaf40e..9e6be9a8 100644 --- a/time.php +++ b/time.php @@ -107,7 +107,7 @@ $_SESSION['task'] = $cl_task; // Elements of timeRecordForm. $form = new Form('timeRecordForm'); -if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { +if (isTrue(SUBGROUP_DEBUG)) { if ($user->can('manage_subgroups')) { $groups = $user->getGroups(); if (count($groups) > 1) {