forked from extern/egroupware
check for contact_id > 0
This commit is contained in:
parent
cb9ea723c6
commit
71c7c427ca
@ -1521,7 +1521,7 @@ class addressbook_bo extends addressbook_so
|
|||||||
$this->categories = new categories($this->owner,'addressbook');
|
$this->categories = new categories($this->owner,'addressbook');
|
||||||
}
|
}
|
||||||
|
|
||||||
if($contact_id)
|
if($contact_id && $contact_id > 0)
|
||||||
{
|
{
|
||||||
// preserve categories without users read access
|
// preserve categories without users read access
|
||||||
$old_contact = $this->read($contact_id);
|
$old_contact = $this->read($contact_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user