]> wagnertech.de Git - timetracker.git/blobdiff - mobile/project_edit.php
A bit more refactoring for subgroups.
[timetracker.git] / mobile / project_edit.php
index afe999536d6804956a835fb0f9fe6a72990972f8..40728aaf72296d5425e325126d383926836b60e0 100644 (file)
@@ -118,10 +118,7 @@ if ($request->isPost()) {
 
     if ($request->getParameter('btn_copy')) {
       if (!ttProjectHelper::getProjectByName($cl_name)) {
-        if (ttProjectHelper::insert(array(
-          'group_id' => $user->getGroup(),
-          'org_id' => $user->org_id,
-          'name' => $cl_name,
+        if (ttProjectHelper::insert(array('name' => $cl_name,
           'description' => $cl_description,
           'users' => $cl_users,
           'tasks' => $cl_tasks,