diff --git a/addressbook/inc/class.bocontacts.inc.php b/addressbook/inc/class.bocontacts.inc.php index df246b4052..7d706060f7 100755 --- a/addressbook/inc/class.bocontacts.inc.php +++ b/addressbook/inc/class.bocontacts.inc.php @@ -859,7 +859,7 @@ class bocontacts extends socontacts function merge($ids) { $this->error = false; - foreach(self::search(array('id'=>$ids),false) as $contact) // $this->search calls the extended search from ui! + foreach(parent::search(array('id'=>$ids),false) as $contact) // $this->search calls the extended search from ui! { if ($contact['account_id']) {