diff --git a/lib/Controller/MembersController.php b/lib/Controller/MembersController.php index 4a0acbd00..eb3913c79 100644 --- a/lib/Controller/MembersController.php +++ b/lib/Controller/MembersController.php @@ -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) {