$m->etype = 'classification';
$ret['classification'] = $m->fetchAll(false,false,'toArray');
- $m = DB_DataObject::factory('core_person');
+
+ $m = DB_DataObject::factory('core_person');
+ $m->company_id = $roo->company->id;
$m->selectAdd();
$m->selectAdd('id,name,email');
$m->active = 1;