diff --git a/addressbook/inc/class.bocontacts.inc.php b/addressbook/inc/class.bocontacts.inc.php index a2669fd6e2..0977ebf02d 100755 --- a/addressbook/inc/class.bocontacts.inc.php +++ b/addressbook/inc/class.bocontacts.inc.php @@ -472,7 +472,7 @@ class bocontacts extends socontacts */ function check_perms($needed,$contact) { - if (!is_array($contact) && !($contact = parent::read($contact))) + if ((!is_array($contact) || !isset($contact['owner'])) && !($contact = parent::read($contact))) { return false; }