X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/45c855269d952873285f7a835e82fc2b3eff3971..2352b1096ea3b8301f06d3e5b072022ae08a2f73:/mobile/task_add.php diff --git a/mobile/task_add.php b/mobile/task_add.php index 4b257edc..796c725c 100644 --- a/mobile/task_add.php +++ b/mobile/task_add.php @@ -68,7 +68,8 @@ if ($request->isPost()) { if ($err->no()) { if (!ttTaskHelper::getTaskByName($cl_name)) { if (ttTaskHelper::insert(array( - 'group_id' => $user->group_id, + 'group_id' => $user->getActiveGroup(), + 'org_id' => $user->org_id, 'name' => $cl_name, 'description' => $cl_description, 'status' => ACTIVE,