From 87708538499c468bd970e882874eff44972ecc7a Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 25 Apr 2015 18:40:12 +0200 Subject: [PATCH] Add support for automatic assignment to moderated user groups --- .../files/lib/acp/form/UserGroupAssignmentAddForm.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/UserGroupAssignmentAddForm.class.php b/wcfsetup/install/files/lib/acp/form/UserGroupAssignmentAddForm.class.php index 3af826a622..d72f3758f6 100644 --- a/wcfsetup/install/files/lib/acp/form/UserGroupAssignmentAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserGroupAssignmentAddForm.class.php @@ -80,7 +80,11 @@ class UserGroupAssignmentAddForm extends AbstractForm { * @see \wcf\page\IPage::readData() */ public function readData() { - $this->userGroups = UserGroup::getGroupsByType(array(UserGroup::OTHER)); + $this->userGroups = UserGroup::getGroupsByType(array(), array( + UserGroup::EVERYONE, + UserGroup::GUESTS, + UserGroup::USERS + )); foreach ($this->userGroups as $key => $userGroup) { if (!$userGroup->isAccessible()) { unset($this->userGroups[$key]); -- 2.20.1