X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/79a38d5d7579d6ba89efdc1b077b87a2e324cbd3..e92d4ffe1d8dfe70c11be7862b31de432a6bab07:/mobile/client_add.php diff --git a/mobile/client_add.php b/mobile/client_add.php index 02de56d1..222012d4 100644 --- a/mobile/client_add.php +++ b/mobile/client_add.php @@ -71,7 +71,7 @@ if ($request->isPost()) { if ($err->no()) { if (!ttClientHelper::getClientByName($cl_name)) { if (ttClientHelper::insert(array( - 'group_id' => $user->getActiveGroup(), + 'group_id' => $user->getGroup(), 'org_id' => $user->org_id, 'name' => $cl_name, 'address' => $cl_address,