Skip to content

Commit

Permalink
Merge pull request #27493 from owncloud/stable9.1-backport_sharing_au…
Browse files Browse the repository at this point in the history
…tocomplete_inconsitency

#27224 Backport Stable 9.1 Sharing autocomplete inconsistency
  • Loading branch information
Vincent Petry committed Mar 27, 2017
2 parents b1af6d1 + d5754a4 commit cdf3774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ajax/share.php
Expand Up @@ -214,7 +214,7 @@
$cm = OC::$server->getContactsManager();

$userEnumerationAllowed = OC::$server->getConfig()
->getAppValue('core', 'shareapi_allow_share_dialog_user_enumeration', 'no') == 'yes';
->getAppValue('core', 'shareapi_allow_share_dialog_user_enumeration', 'yes') == 'yes';

if (!is_null($cm) && $cm->isEnabled() && $userEnumerationAllowed) {
$contacts = $cm->search((string)$_GET['search'], array('FN', 'EMAIL'));
Expand Down

0 comments on commit cdf3774

Please sign in to comment.