get_links with $only_app param set was returning the complete links instead just the id's, if the entry was not yet created (links stored as an array in the empty id)

This commit is contained in:
Ralf Becker 2006-09-20 07:11:42 +00:00
parent 1f5580c528
commit 445d8467a3

View File

@ -236,7 +236,7 @@ class bolink extends solink
{
continue;
}
$ids[$link['link_id']] = $link;
$ids[$link['link_id']] = $only_app ? $link['id'] : $link;
prev($id);
}
}