X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=client_add.php;h=dc99e6c8949ad837287a81b85345c8b7c7f62feb;hb=4782eac1a659d576f7e50e6a9e94fdfa316bfc7f;hp=3afcbc072aca5b661eaf0d7bb524e8336431c264;hpb=45c855269d952873285f7a835e82fc2b3eff3971;p=timetracker.git diff --git a/client_add.php b/client_add.php index 3afcbc07..dc99e6c8 100644 --- a/client_add.php +++ b/client_add.php @@ -71,7 +71,8 @@ if ($request->isPost()) { if ($err->no()) { 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,