mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +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);
|
$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);
|
$this->unlink(0,$app,$id);
|
||||||
return False;
|
return False;
|
||||||
|
Loading…
Reference in New Issue
Block a user