From 939e6ebf25b6e781d84d5b39c5a85292d0b3c019 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 30 Dec 2024 16:45:05 +0100 Subject: [PATCH] Fix issue when assigning user groups in bulk processing ref https://www.woltlab.com/community/thread/310377-benutzergruppen-zuweisen-in-massenbearbeitung-ergebnislos/ --- ...actUserGroupsUserBulkProcessingAction.class.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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; + } } -- 2.20.1