summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-09 14:30:28 +0200
committerVincent Petry <pvince81@owncloud.com>2014-07-10 16:13:01 +0200
commit66130ad3364214bb45b08013b68164cd2a661b77 (patch)
treedadf351439f7e80915aa5f6bf8c36c1a08cad1e1 /settings/ajax
parenta310415b098721809d7096e64016da3afcaf82dc (diff)
downloadnextcloud-server-66130ad3364214bb45b08013b68164cd2a661b77.tar.gz
nextcloud-server-66130ad3364214bb45b08013b68164cd2a661b77.zip
fixing JS syntax errors
remove the group in case the last user has removed from that group cleanup use .filterAttr()
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/userlist.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/ajax/userlist.php b/settings/ajax/userlist.php
index 32237d60b6e..2bf40686b87 100644
--- a/settings/ajax/userlist.php
+++ b/settings/ajax/userlist.php
@@ -34,6 +34,9 @@ if (isset($_GET['limit'])) {
}
if (isset($_GET['gid']) && !empty($_GET['gid'])) {
$gid = $_GET['gid'];
+ if ($gid === '_everyone') {
+ $gid = false;
+ }
} else {
$gid = false;
}