X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/7faef0e6d81444ad3ae10d1a2ce62fa753c80a9f..ca6d2f927b985f4d80b31e5e2c6deb98e4fae6f6:/time.php diff --git a/time.php b/time.php index 9e6be9a8..c7d2979c 100644 --- a/time.php +++ b/time.php @@ -109,7 +109,7 @@ $form = new Form('timeRecordForm'); if (isTrue(SUBGROUP_DEBUG)) { if ($user->can('manage_subgroups')) { - $groups = $user->getGroups(); + $groups = $user->getGroupsForDropdown(); if (count($groups) > 1) { $form->addInput(array('type'=>'combobox', 'onchange'=>'this.form.submit();',