X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/45c855269d952873285f7a835e82fc2b3eff3971..d3bcdee6ccc7bd00dce1fdfd89dc604f9016b52c:/mobile/client_add.php 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,