X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttImportHelper.class.php;h=e732b9890ba47d754834ea2298e1a880b937dc19;hb=0fdda830ba3e780c365c90e1fdfd5cfa7ed77244;hp=42c7102be6a46f0f9fd3a2f2d71cd9af26c852a8;hpb=ee95ed0e72258b76ed0280f04d6846d802aefa12;p=timetracker.git diff --git a/WEB-INF/lib/ttImportHelper.class.php b/WEB-INF/lib/ttImportHelper.class.php index 42c7102b..e732b989 100644 --- a/WEB-INF/lib/ttImportHelper.class.php +++ b/WEB-INF/lib/ttImportHelper.class.php @@ -152,7 +152,9 @@ class ttImportHelper { foreach ($this->roles as $key=>$role_item) { $role_id = ttRoleHelper::insert(array( 'group_id' => $this->group_id, + 'org_id' => $this->org_id, 'name' => $role_item['NAME'], + 'description' => $role_item['DESCRIPTION'], 'rank' => $role_item['RANK'], 'rights' => $role_item['RIGHTS'], 'status' => $role_item['STATUS'])); @@ -220,6 +222,7 @@ class ttImportHelper { $this->clientMap[$this->currentElement['ID']] = ttClientHelper::insert(array( 'group_id' => $this->group_id, + 'org_id' => $this->org_id, 'name' => $this->currentElement['NAME'], 'address' => $this->currentElement['ADDRESS'], 'tax' => $this->currentElement['TAX'],