From aef44d4817a9219ca21a14687e3ba97740d67ec6 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 9 Oct 2019 19:19:04 +0200 Subject: [PATCH] Remove obsolete code in MultipleSelectionFormField --- .../form/builder/field/MultipleSelectionFormField.class.php | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.20.1