Implemented delete group feature in group editor.
[timetracker.git] / time.php
index 68aaf40..9e6be9a 100644 (file)
--- 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) {