From: Matthias Schmidt Date: Wed, 9 Oct 2019 17:19:04 +0000 (+0200) Subject: Remove obsolete code in MultipleSelectionFormField X-Git-Tag: 5.2.0_Beta_3~39 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aef44d4817a9219ca21a14687e3ba97740d67ec6;p=GitHub%2FWoltLab%2FWCF.git Remove obsolete code in MultipleSelectionFormField --- diff --git a/wcfsetup/install/files/lib/system/form/builder/field/MultipleSelectionFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/MultipleSelectionFormField.class.php index bb5b5975ec..56bca56233 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/MultipleSelectionFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/MultipleSelectionFormField.class.php @@ -71,9 +71,6 @@ class MultipleSelectionFormField extends AbstractFormField implements IFilterabl if (is_array($value)) { $this->value = $value; } - else if (!$this->isNullable()) { - $this->value = []; - } } return $this;