From d7cf6e6fb74727ce07fa3434d9f7240fe89d0706 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 19 Sep 2005 12:58:53 +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 678744f756..752b28a5c0 100644 --- a/infolog/inc/class.bolink.inc.php +++ b/infolog/inc/class.bolink.inc.php @@ -340,7 +340,7 @@ } if (!is_array($id)) { - if (!$app2 && !$id2) + if (!$link_id && !$app2 && !$id2) { $this->delete_attached($app,$id); // deleting all attachments }