From 12f80a9d8d7cd6c89edb7e6a9c3053c053acf03a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 2 Jun 2013 17:11:31 +0200 Subject: [PATCH] Fixed issue when editing disabled users --- wcfsetup/install/files/lib/data/user/UserAction.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/UserAction.class.php b/wcfsetup/install/files/lib/data/user/UserAction.class.php index 65ca6bcc77..632b97750d 100644 --- a/wcfsetup/install/files/lib/data/user/UserAction.class.php +++ b/wcfsetup/install/files/lib/data/user/UserAction.class.php @@ -292,7 +292,10 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio $userOptions = (isset($this->parameters['options'])) ? $this->parameters['options'] : array(); if (!empty($groupIDs)) { - $action = new UserAction($this->objects, 'addToGroups', array('groups' => $groupIDs)); + $action = new UserAction($this->objects, 'addToGroups', array( + 'groups' => $groupIDs, + 'addDefaultGroups' => false + )); $action->executeAction(); } -- 2.20.1