write: setting info_from, everytime info_link_id > 0 and info_from is set and == ''

This commit is contained in:
Ralf Becker 2003-07-06 08:54:13 +00:00
parent 8cb7c8bb47
commit c32a7e5d94

View File

@ -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;