Fix copy/paste error :P

This commit is contained in:
Thomas Tanghus 2014-03-25 15:38:11 +01:00
parent aa5bba2bcc
commit 0b4d879619

View file

@ -268,7 +268,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
if (!is_null($cm) && $cm->isEnabled()) {
$contacts = $cm->search($_GET['search'], array('FN', 'EMAIL'));
foreach ($contacts as $contact) {
if (!isset($emails = $contact['EMAIL']) {
if (!isset($contact['EMAIL'])) {
continue;
}