From 9bbf3ee2aa96ceeda2eedb6ccb5600e7ece5b818 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 21 Jan 2018 09:53:36 +0100 Subject: [PATCH] Reset user group priority after saving new user group Close #2521 --- wcfsetup/install/files/lib/acp/form/UserGroupAddForm.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/acp/form/UserGroupAddForm.class.php b/wcfsetup/install/files/lib/acp/form/UserGroupAddForm.class.php index 5666c88087..bbe09de46f 100755 --- a/wcfsetup/install/files/lib/acp/form/UserGroupAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserGroupAddForm.class.php @@ -188,6 +188,7 @@ class UserGroupAddForm extends AbstractOptionListForm { // reset values $this->groupName = ''; + $this->priority = 0; $this->optionValues = array(); I18nHandler::getInstance()->reset(); -- 2.20.1