Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Gieling <github@dartcafe.de>2020-07-07 18:50:41 +0300
committerGitHub <noreply@github.com>2020-07-07 18:50:41 +0300
commit89d609bc15261b7a7feb1f4720fb4067c8de5ad4 (patch)
treeb852776fa8671b0cd971262a3a07707ac2df992d /lib/Controller
parent0a1a63adbdf04ab0efb6bde2b344c43817aabc44 (diff)
parent3c965b1ee1be622fb589299cbe3c032eaab4c619 (diff)
Merge branch 'master' into seperate-sending-invitations
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/SystemController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SystemController.php b/lib/Controller/SystemController.php
index 86051bfb..44dfbf8a 100644
--- a/lib/Controller/SystemController.php
+++ b/lib/Controller/SystemController.php
@@ -151,7 +151,7 @@ class SystemController extends Controller {
if ($getUsers) {
$users = $this->userManager->searchDisplayName($query);
foreach ($users as $user) {
- if (!in_array($user->getUID(), $skipUsers)) {
+ if (!in_array($user->getUID(), $skipUsers) && $user->isEnabled()) {
$list[] = [
'id' => $user->getUID(),
'user' => $user->getUID(),