mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixed bug which deletes all existing links
This commit is contained in:
parent
4f7a8498f7
commit
3f6c7c0ec1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user