]> wagnertech.de Git - timetracker.git/blobdiff - mobile/project_add.php
Some refactoring for subgroups.
[timetracker.git] / mobile / project_add.php
index 3b1d0fb0d1720724f0e2f91701849051380d2749..a7a540d0527199714a292ec4cc086d0f435248b0 100644 (file)
@@ -78,7 +78,7 @@ if ($request->isPost()) {
   if ($err->no()) {
     if (!ttProjectHelper::getProjectByName($cl_name)) {
       if (ttProjectHelper::insert(array(
-        'group_id' => $user->getActiveGroup(),
+        'group_id' => $user->getGroup(),
         'org_id' => $user->org_id,
         'name' => $cl_name,
         'description' => $cl_description,