1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-03-07 03:31:23 +01:00

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:58:53 +00:00
parent 518a0b3cfe
commit d7cf6e6fb7

View File

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