fix Class 'Accounts' not found

This commit is contained in:
Ralf Becker 2021-05-20 09:11:21 +02:00
parent 50fcb69225
commit a5cbf30a6e

View File

@ -168,7 +168,7 @@ class infolog_merge extends Api\Storage\Merge
$info+=$this->get_app_replacements($array['info_link']['app'], $array['info_link']['id'], $content, 'info_contact'); $info+=$this->get_app_replacements($array['info_link']['app'], $array['info_link']['id'], $content, 'info_contact');
} }
// Add owner fields // Add owner fields
$info += $this->contact_replacements(Accounts::id2name($info_owner,'person_id'),'info_owner'); $info += $this->contact_replacements(Api\Accounts::id2name($info_owner,'person_id'),'info_owner');
// Add parent // Add parent
if($record->info_id_parent) if($record->info_id_parent)