aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2014-03-25 15:38:11 +0100
committerThomas Tanghus <thomas@tanghus.net>2014-03-25 15:38:11 +0100
commit0b4d87961926d69e5f95b2a6477edb804d726b78 (patch)
tree8339d725e52bc4158fd7e81ea3e54ed3bde870f5 /core
parentaa5bba2bcce010ecbbbf4df0a63570a66986d846 (diff)
downloadnextcloud-server-0b4d87961926d69e5f95b2a6477edb804d726b78.tar.gz
nextcloud-server-0b4d87961926d69e5f95b2a6477edb804d726b78.zip
Fix copy/paste error :P
Diffstat (limited to 'core')
-rw-r--r--core/ajax/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php
index 588781556ff..747cb3c6dbb 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;
}