From 3f6c7c0ec1c375fa1872ebcbd18a53ced177f52a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 16 Sep 2003 08:44:54 +0000 Subject: [PATCH] fixed bug which deletes all existing links --- 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 9dd8c4364e..461be4d1fa 100644 --- a/infolog/inc/class.bolink.inc.php +++ b/infolog/inc/class.bolink.inc.php @@ -429,7 +429,7 @@ $title = strchr($method,'.') ? ExecMethod($method,$id) : $this->$method($id); - if (!$title) // $app,$id has been deleted ==> unlink als links to it + if ($id && !$title) // $app,$id has been deleted ==> unlink als links to it { $this->unlink(0,$app,$id); return False;