Remove obsolete code in MultipleSelectionFormField
authorMatthias Schmidt <gravatronics@live.com>
Wed, 9 Oct 2019 17:19:04 +0000 (19:19 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 9 Oct 2019 17:19:04 +0000 (19:19 +0200)
wcfsetup/install/files/lib/system/form/builder/field/MultipleSelectionFormField.class.php

index bb5b5975ec5f21da2d5b49d035f5704590ba8154..56bca56233aa587fd12eb22f559a1ad1ca11def6 100644 (file)
@@ -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;