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']));
$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'],