X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=client_edit.php;h=19aa5f8937631ed23a2714bb9ea9891ef53f8a07;hb=15ae2165165da813912300d223c50b74f44cc1e0;hp=74062d06eaf630bb473281bcf53fd4aa90b20da2;hpb=45c855269d952873285f7a835e82fc2b3eff3971;p=timetracker.git 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,