fix PHP Warning: Illegal string offset 'app'

This commit is contained in:
Ralf Becker 2018-01-24 09:20:16 +01:00
parent 33d5c3059b
commit 8989cf195b

View File

@ -154,7 +154,7 @@ class infolog_merge extends Api\Storage\Merge
} }
// Add contact fields // Add contact fields
if($array['info_link']['app'] && $array['info_link']['id']) if($array['info_link'] && $array['info_link']['app'] && $array['info_link']['id'])
{ {
$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');
} }