From c32a7e5d94a464c7cb12cc86263f62da2922e825 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 6 Jul 2003 08:54:13 +0000 Subject: [PATCH] write: setting info_from, everytime info_link_id > 0 and info_from is set and == '' --- infolog/inc/class.boinfolog.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;