diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index 461b7b32ae..02b5426d64 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -964,6 +964,10 @@ class infolog_bo } // create (and remove) links in custom fields + if(!is_array($old)) + { + $old = array(); + } Api\Storage\Customfields::update_links('infolog',$values,$old,'info_id'); // Check for restore of deleted entry, restore held links