X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/d27960ac5530c7c81b9adba85253b0e216f81476..10e652b9628722c1aad1ab875a3bda1007167c31:/groups.php diff --git a/groups.php b/groups.php index 279e5083..172dd329 100644 --- a/groups.php +++ b/groups.php @@ -43,6 +43,7 @@ if ($request->isPost() && !$user->isGroupValid($request->getParameter('group'))) if ($request->isPost()) { $group_id = $request->getParameter('group'); + $user->setOnBehalfGroup($group_id); } else { $group_id = $user->getActiveGroup(); }