mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
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');
|
||||
}
|
||||
|
||||
if($contact_id)
|
||||
if($contact_id && $contact_id > 0)
|
||||
{
|
||||
// preserve categories without users read access
|
||||
$old_contact = $this->read($contact_id);
|
||||
|
Loading…
Reference in New Issue
Block a user