From: Marcel Werk Date: Mon, 30 Dec 2024 15:45:05 +0000 (+0100) Subject: Fix issue when assigning user groups in bulk processing X-Git-Tag: 6.1.3_dev_2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=939e6ebf25b6e781d84d5b39c5a85292d0b3c019;p=GitHub%2FWoltLab%2FWCF.git Fix issue when assigning user groups in bulk processing ref https://www.woltlab.com/community/thread/310377-benutzergruppen-zuweisen-in-massenbearbeitung-ergebnislos/ --- diff --git a/wcfsetup/install/files/lib/system/bulk/processing/user/AbstractUserGroupsUserBulkProcessingAction.class.php b/wcfsetup/install/files/lib/system/bulk/processing/user/AbstractUserGroupsUserBulkProcessingAction.class.php index 6ddb521158..487de354c7 100644 --- a/wcfsetup/install/files/lib/system/bulk/processing/user/AbstractUserGroupsUserBulkProcessingAction.class.php +++ b/wcfsetup/install/files/lib/system/bulk/processing/user/AbstractUserGroupsUserBulkProcessingAction.class.php @@ -144,4 +144,18 @@ abstract class AbstractUserGroupsUserBulkProcessingAction extends AbstractUserBu { return true; } + + #[\Override] + public function getAdditionalParameters(): array + { + return [ + 'userGroupIDs' => $this->userGroupIDs, + ]; + } + + #[\Override] + public function loadAdditionalParameters(array $data): void + { + $this->userGroupIDs = $data['userGroupIDs'] ?? 0; + } }