X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/45c855269d952873285f7a835e82fc2b3eff3971..b5c16658c0a91c98bb4e41bb6c0e1cc254222a68:/client_edit.php diff --git a/client_edit.php b/client_edit.php index 74062d06..19aa5f89 100644 --- a/client_edit.php +++ b/client_edit.php @@ -103,7 +103,8 @@ if ($request->isPost()) { if ($request->getParameter('btn_copy')) { if (!ttClientHelper::getClientByName($cl_name)) { if (ttClientHelper::insert(array( - 'group_id' => $user->group_id, + 'group_id' => $user->getActiveGroup(), + 'org_id' => $user->org_id, 'name' => $cl_name, 'address' => $cl_address, 'tax' => $cl_tax,