From: Marcel Werk Date: Sun, 2 Jun 2013 15:11:31 +0000 (+0200) Subject: Fixed issue when editing disabled users X-Git-Tag: 2.0.0_Beta_3~44 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=12f80a9d8d7cd6c89edb7e6a9c3053c053acf03a;p=GitHub%2FWoltLab%2FWCF.git Fixed issue when editing disabled users --- 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(); }