Reset user group priority after saving new user group
authorMatthias Schmidt <gravatronics@live.com>
Sun, 21 Jan 2018 08:53:36 +0000 (09:53 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 21 Jan 2018 08:53:36 +0000 (09:53 +0100)
Close #2521

wcfsetup/install/files/lib/acp/form/UserGroupAddForm.class.php

index 5666c880876af60f6128f876c186fb04efcbf334..bbe09de46fa711b640257d373663c9881ec186b9 100755 (executable)
@@ -188,6 +188,7 @@ class UserGroupAddForm extends AbstractOptionListForm {
                
                // reset values
                $this->groupName = '';
+               $this->priority = 0;
                $this->optionValues = array();
                
                I18nHandler::getInstance()->reset();