From: Marcel Werk Date: Fri, 15 May 2015 16:43:52 +0000 (+0200) Subject: Fixed wrong default values in UserGroupOptionForm X-Git-Tag: 2.1.4~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45e70853ab221c17a50e5e12e5fadae896dd49cb;p=GitHub%2FWoltLab%2FWCF.git Fixed wrong default values in UserGroupOptionForm --- 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); } }