]> wagnertech.de Git - timetracker.git/blobdiff - time.php
Improved population of group dropdown to include the entire stack of groups.
[timetracker.git] / time.php
index 9e6be9a8ff440064f940fd662051c32b6cb19238..c7d2979cd68d7aed97d77ee82d54b26908b491bf 100644 (file)
--- 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();',