Fix typo in error message in MultipleSelectionFormField
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 14 Sep 2020 18:36:48 +0000 (20:36 +0200)
committerGitHub <noreply@github.com>
Mon, 14 Sep 2020 18:36:48 +0000 (20:36 +0200)
wcfsetup/install/files/lib/system/form/builder/field/MultipleSelectionFormField.class.php

index 56bca56233aa587fd12eb22f559a1ad1ca11def6..29ad395b50bfd47218855c90fa1eca53358922bd 100644 (file)
@@ -111,7 +111,7 @@ class MultipleSelectionFormField extends AbstractFormField implements IFilterabl
                
                $unknownValues = array_diff($value, array_keys($this->getOptions()));
                if (!empty($unknownValues)) {
-                       throw new \InvalidArgumentException("Unknown values '" . implode("', '", $unknownValues) . '"');
+                       throw new \InvalidArgumentException("Unknown values '" . implode("', '", $unknownValues) . "'");
                }
                
                return parent::value($value);