From 0b4d87961926d69e5f95b2a6477edb804d726b78 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 25 Mar 2014 15:38:11 +0100 Subject: [PATCH] Fix copy/paste error :P --- core/ajax/share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ajax/share.php b/core/ajax/share.php index 588781556f..747cb3c6db 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -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; }