X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/264ed2176f4d55449f4a329d6b85fcb48fd50fb4..a711e76851f29c7e0ac290a279eb4dd984ea7167:/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,