]> wagnertech.de Git - timetracker.git/blobdiff - user_add.php
Some progress with writing new export.
[timetracker.git] / user_add.php
index ac2d8c4e4d070beed1d54e21d1649ad788472a52..eb9391472acb6248ec9eb24fd3407730b6fd4a43 100644 (file)
@@ -150,7 +150,7 @@ if ($request->isPost()) {
         'login' => $cl_login,
         'password' => $cl_password1,
         'rate' => $cl_rate,
-        'group_id' => $user->group_id, // TODO: this needs to be fixed for on-behalf group work.
+        'group_id' => $user->getActiveGroup(),
         'org_id' => $user->org_id,
         'role_id' => $cl_role_id,
         'client_id' => $cl_client_id,