]> wagnertech.de Git - timetracker.git/blobdiff - groups.php
Improved population of group dropdown to include the entire stack of groups.
[timetracker.git] / groups.php
index 172dd3298fe6201accae0a1d55dc0afbff2e9730..6c35bfb30fc0bbe9ae5242a3f1408ef7c467b543 100644 (file)
@@ -49,7 +49,7 @@ if ($request->isPost()) {
 }
 
 $form = new Form('subgroupsForm');
-$groups = $user->getGroups();
+$groups = $user->getGroupsForDropdown();
 if (count($groups) > 1) {
   $form->addInput(array('type'=>'combobox',
     'onchange'=>'this.form.submit();',