From 4f967c981e29c9c0d8e6595eea58e9bd028ce1bf Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 8 Feb 2020 15:55:55 +0100 Subject: [PATCH] Copying user groups now returns the id of the new group --- .../install/files/lib/data/user/group/UserGroupAction.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/data/user/group/UserGroupAction.class.php b/wcfsetup/install/files/lib/data/user/group/UserGroupAction.class.php index 62e3614e06..5d24644c33 100644 --- a/wcfsetup/install/files/lib/data/user/group/UserGroupAction.class.php +++ b/wcfsetup/install/files/lib/data/user/group/UserGroupAction.class.php @@ -207,6 +207,7 @@ class UserGroupAction extends AbstractDatabaseObjectAction { UserGroupEditor::resetCache(); return [ + 'groupID' => $group->groupID, 'redirectURL' => LinkHandler::getInstance()->getLink('UserGroupEdit', [ 'id' => $group->groupID ]) -- 2.20.1