Skip to content

Commit

Permalink
avoid null
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Jul 9, 2019
1 parent b9e4fe3 commit 0d05b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/MembersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function searchGlobal($search) {
);
}

if ($this->configService->getCoreValue('shareapi_allow_share_dialog_user_enumeration') !== 'yes') {
if ($this->configService->getCoreValue('shareapi_allow_share_dialog_user_enumeration') === 'no') {
$result = array_filter(
$result,
function($data, $k) use ($search) {
Expand Down

0 comments on commit 0d05b29

Please sign in to comment.