Skip to content
Snippets Groups Projects
Verified Commit 4bafb358 authored by Damien's avatar Damien
Browse files

FIX #7993 Create contact with existing email

parent 96bc268d
No related branches found
No related tags found
No related merge requests found
......@@ -296,7 +296,11 @@ abstract class ContactModelAbstract
'order_by' => ['creation_date'],
]);
return $aContacts;
if (empty($aContacts[0])) {
return [];
}
return $aContacts[0];
}
public static function purgeContact($aArgs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment