"fixed lost info_from attribute, if infolog has a main contact (main contact is still shown in the list, but not longer found if searching by the name)"

This commit is contained in:
Ralf Becker 2008-03-31 15:47:51 +00:00
parent 8a8f37ecff
commit eaf78fec36

View File

@ -374,7 +374,7 @@ class boinfolog
(isset($info['links']) && ($link = $info['links'][$info['info_link_id']]) || // use supplied links info
($link = egw_link::get_link($info['info_link_id'])) !== False)) // if link not found in supplied links, we always search!
{
if (isset($info['links']))
if (isset($info['links']) && isset($link['app']))
{
$app = $link['app'];
$id = $link['id'];