fixed bug which deletes all existing links

This commit is contained in:
Ralf Becker 2003-09-16 08:44:54 +00:00
parent 4f7a8498f7
commit 3f6c7c0ec1

View File

@ -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;