Rewrote group dropdown fill function to include the entire tree.
[timetracker.git] / groups.php
index f335153..449bd63 100644 (file)
@@ -49,7 +49,7 @@ if ($request->isPost()) {
 }
 
 $form = new Form('subgroupsForm');
-$groups = $user->getGroupsForDropdown();
+$groups = $user->getGroupsForDropdown2();
 if (count($groups) > 1) {
   $form->addInput(array('type'=>'combobox',
     'onchange'=>'this.form.submit();',