Fix copy/paste error :P

This commit is contained in:
Thomas Tanghus 2014-03-25 15:38:11 +01:00
parent aa5bba2bcc
commit 0b4d879619
1 changed files with 1 additions and 1 deletions

View File

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