summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-12-14 23:38:38 +0100
committerBart Visscher <bartv@thisnet.nl>2012-12-15 00:43:46 +0100
commit2ef2dc4ddabc8b5d86d7a9a5a936ecf3901615cc (patch)
treecab9483141ee8fee237abfdf9550117c1e98296f /settings/ajax
parent85bd28c5081e7c2fea236c4528c23be283aa7350 (diff)
downloadnextcloud-server-2ef2dc4ddabc8b5d86d7a9a5a936ecf3901615cc.tar.gz
nextcloud-server-2ef2dc4ddabc8b5d86d7a9a5a936ecf3901615cc.zip
Fix "There must be a single space between the closing parenthesis and the opening brace"
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/togglegroups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/togglegroups.php b/settings/ajax/togglegroups.php
index f82ece4aee1..83d455550ae 100644
--- a/settings/ajax/togglegroups.php
+++ b/settings/ajax/togglegroups.php
@@ -7,7 +7,7 @@ $success = true;
$username = $_POST["username"];
$group = $_POST["group"];
-if($username == OC_User::getUser() && $group == "admin" && OC_Group::inGroup($username, 'admin')){
+if($username == OC_User::getUser() && $group == "admin" && OC_Group::inGroup($username, 'admin')) {
$l = OC_L10N::get('core');
OC_JSON::error(array( 'data' => array( 'message' => $l->t('Admins can\'t remove themself from the admin group'))));
exit();