X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/eae8b284cbee2b8e78b311bfa3a94f731f5056ee..8fc038ec7505483c193e290423623b6a66ee3797:/WEB-INF/lib/ttImportHelper.class.php diff --git a/WEB-INF/lib/ttImportHelper.class.php b/WEB-INF/lib/ttImportHelper.class.php index 64a32e0e..307be167 100644 --- a/WEB-INF/lib/ttImportHelper.class.php +++ b/WEB-INF/lib/ttImportHelper.class.php @@ -206,11 +206,19 @@ class ttImportHelper { 'status' => $this->currentElement['STATUS'])); } if ($name == 'USER_PROJECT_BIND' && $this->canImport) { - ttUserHelper::insertBind( +/* + ttUserHelper::insertBind( $this->userMap[$this->currentElement['USER_ID']], $this->projectMap[$this->currentElement['PROJECT_ID']], $this->currentElement['RATE'], - $this->currentElement['STATUS']); + $this->currentElement['STATUS']);*/ + ttUserHelper::insertBind2(array( + 'user_id' => $this->userMap[$this->currentElement['USER_ID']], + 'project_id' => $this->projectMap[$this->currentElement['PROJECT_ID']], + 'group_id' => $this->group_id, + 'org_id' => $this->org_id, + 'rate' => $this->currentElement['RATE'], + 'status' => $this->currentElement['STATUS'])); } if ($name == 'CLIENT' && $this->canImport) {