X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/6bd6e0481ca4c22c47de758d53eef9db5e565e5c..280d6ea0ee096843551d7734b23377ec06d42e81:/WEB-INF/lib/ttOrgImportHelper.class.php diff --git a/WEB-INF/lib/ttOrgImportHelper.class.php b/WEB-INF/lib/ttOrgImportHelper.class.php index 6764ba53..d95aabb4 100644 --- a/WEB-INF/lib/ttOrgImportHelper.class.php +++ b/WEB-INF/lib/ttOrgImportHelper.class.php @@ -204,8 +204,8 @@ class ttOrgImportHelper { foreach ($tasks as $id) $mapped_tasks[] = $this->currentGroupTaskMap[$id]; - $project_id = ttProjectHelper::insert(array( - 'group_id' => $this->current_group_id, + $project_id = ttProjectHelper::insert(array( // TODO: continue refactoring, write a separate, simple function to import projects + 'group_id' => $this->current_group_id, // because ttProjectHelper::insert is complicated. 'org_id' => $this->org_id, 'name' => $attrs['NAME'], 'description' => $attrs['DESCRIPTION'],