X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Fclient_add.php;h=7a097b5ff5a98d9561b0da240e0ac5b589a514c4;hb=d6a5ffec0f76b9ab5b1ee4f8e69ecdb2afd7c0ff;hp=f83c720ae190c2279ffbaae5f2f05c4881631302;hpb=45c855269d952873285f7a835e82fc2b3eff3971;p=timetracker.git diff --git a/mobile/client_add.php b/mobile/client_add.php index f83c720a..7a097b5f 100644 --- a/mobile/client_add.php +++ b/mobile/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,