]> wagnertech.de Git - timetracker.git/blobdiff - mobile/client_edit.php
Some refactoring for subgroups.
[timetracker.git] / mobile / client_edit.php
index c1004b1bbff62616f9b167a1561f2f07668bde59..917b656a8be2591136e0c2b3e502692d0bac16bc 100644 (file)
@@ -104,7 +104,7 @@ if ($request->isPost()) {
     if ($request->getParameter('btn_copy')) {
       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,