fix Class 'Accounts' not found

This commit is contained in:
Ralf Becker 2021-05-20 09:11:21 +02:00
parent 6790ffb273
commit b02936dddb

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)