aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-01-19 11:39:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-01-19 11:39:27 +0100
commitfa9834372d7e635ce4a69c415423fe2c76b7b5b2 (patch)
treea82c6c659d956862051ed1ce2fbb674386717af3 /settings
parent4fcfedb03cb60fe60617fd8d7609d5d1397789a5 (diff)
parent2272bcedebe3db2d1ec46f116599414c936f287c (diff)
downloadnextcloud-server-fa9834372d7e635ce4a69c415423fe2c76b7b5b2.tar.gz
nextcloud-server-fa9834372d7e635ce4a69c415423fe2c76b7b5b2.zip
Merge pull request #13443 from owncloud/fix-filtering-for-users
Fix filtering for users when $gid is empty
Diffstat (limited to 'settings')
-rw-r--r--settings/controller/userscontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/controller/userscontroller.php b/settings/controller/userscontroller.php
index 844ed4759e3..1be2f4db9b9 100644
--- a/settings/controller/userscontroller.php
+++ b/settings/controller/userscontroller.php
@@ -161,7 +161,7 @@ class UsersController extends Controller {
if($gid !== '') {
$batch = $this->getUsersForUID($this->groupManager->displayNamesInGroup($gid, $pattern, $limit, $offset));
} else {
- $batch = $this->userManager->search('', $limit, $offset);
+ $batch = $this->userManager->search($pattern, $limit, $offset);
}
foreach ($batch as $user) {