From 3ad5b1fb8b557b0a359290245685b1425cb76c75 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 19 Sep 2005 12:59:46 +0000 Subject: [PATCH] fixed bug reported by Frank Becker on the german list: deleting a link deletes all attached files too --- infolog/inc/class.bolink.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.bolink.inc.php b/infolog/inc/class.bolink.inc.php index 2ecbf5e1ab..dbf1e2817d 100644 --- a/infolog/inc/class.bolink.inc.php +++ b/infolog/inc/class.bolink.inc.php @@ -362,7 +362,7 @@ } if (!is_array($id)) { - if (!$app2 && !$id2) + if (!$link_id && !$app2 && !$id2) { $this->delete_attached($app,$id); // deleting all attachments }