fix id of `CustomFormDataProcessor` in `TagFormField`
authormutec <mysterycode@mysterycode.de>
Fri, 10 Sep 2021 14:49:57 +0000 (16:49 +0200)
committermutec <mysterycode@mysterycode.de>
Fri, 10 Sep 2021 14:49:57 +0000 (16:49 +0200)
the id was `acl` which seems to be a copy paste-mistake

wcfsetup/install/files/lib/system/form/builder/field/tag/TagFormField.class.php

index 133b15174fdcbb4319d4b7da49cbfef7e28a338b..145a0553d9acc48f99eb69d5a11f49dcdf89b7ca 100644 (file)
@@ -99,7 +99,7 @@ class TagFormField extends AbstractFormField implements IObjectTypeFormNode {
        public function populate() {
                parent::populate();
                
-               $this->getDocument()->getDataHandler()->addProcessor(new CustomFormDataProcessor('acl', function(IFormDocument $document, array $parameters) {
+               $this->getDocument()->getDataHandler()->addProcessor(new CustomFormDataProcessor('tags', function(IFormDocument $document, array $parameters) {
                        if ($this->checkDependencies() && $this->getValue() !== null && !empty($this->getValue())) {
                                $parameters[$this->getObjectProperty()] = $this->getValue();
                        }