fixed bug reported by Frank Becker on the german list: deleting a link deletes all attached files too

This commit is contained in:
Ralf Becker 2005-09-19 12:59:46 +00:00
parent 2f73293a9c
commit 3ad5b1fb8b

View File

@ -362,7 +362,7 @@
}
if (!is_array($id))
{
if (!$app2 && !$id2)
if (!$link_id && !$app2 && !$id2)
{
$this->delete_attached($app,$id); // deleting all attachments
}