From 8989cf195b2c3a3485b77422f55252d3adeb4e7c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 24 Jan 2018 09:20:16 +0100 Subject: [PATCH] fix PHP Warning: Illegal string offset 'app' --- infolog/inc/class.infolog_merge.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_merge.inc.php b/infolog/inc/class.infolog_merge.inc.php index 4d720f3f37..dabace9d72 100644 --- a/infolog/inc/class.infolog_merge.inc.php +++ b/infolog/inc/class.infolog_merge.inc.php @@ -154,7 +154,7 @@ class infolog_merge extends Api\Storage\Merge } // 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'); }