]> wagnertech.de Git - timetracker.git/blobdiff - groups.php
Work in progress on remote work plugin.
[timetracker.git] / groups.php
index 6c35bfb30fc0bbe9ae5242a3f1408ef7c467b543..f335153ce09c671bb82f3244f660213f3fc0fbac 100644 (file)
@@ -45,7 +45,7 @@ if ($request->isPost()) {
   $group_id = $request->getParameter('group');
   $user->setOnBehalfGroup($group_id);
 } else {
-  $group_id = $user->getActiveGroup();
+  $group_id = $user->getGroup();
 }
 
 $form = new Form('subgroupsForm');