From 45e70853ab221c17a50e5e12e5fadae896dd49cb Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 15 May 2015 18:43:52 +0200 Subject: [PATCH] Fixed wrong default values in UserGroupOptionForm --- .../install/files/lib/acp/form/UserGroupOptionForm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php b/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php index a0ca0106e2..3fddd8aacc 100644 --- a/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php @@ -215,7 +215,7 @@ class UserGroupOptionForm extends AbstractForm { // create form elements for each group foreach ($this->groups as $group) { - $optionValue = (isset($this->values[$group->groupID])) ? $this->values[$group->groupID] : $this->userGroupOption->defaultValue; + $optionValue = (isset($this->values[$group->groupID])) ? $this->values[$group->groupID] : ''; $this->formElements[$group->groupID] = $this->optionType->getFormElement($this->userGroupOption, $optionValue); } } -- 2.20.1