diff --git a/infolog/inc/class.boinfolog.inc.php b/infolog/inc/class.boinfolog.inc.php index 4cfb3840b6..391973d926 100644 --- a/infolog/inc/class.boinfolog.inc.php +++ b/infolog/inc/class.boinfolog.inc.php @@ -182,10 +182,10 @@ { $values['info_subject'] = substr($values['info_des'],0,60).' ...'; } - if ($values['info_link_id'] && empty($values['info_from'])) - { - $this->link_id2from($values); - } + } + if ($values['info_link_id'] && isset($values['info_from']) && empty($values['info_from'])) + { + $values['info_from'] = $this->link_id2from($values); } $values['info_datemodified'] = time(); $values['info_modifier'] = $this->so->user;