Add missing call to UserOptionAddForm::setDefaultOutputClass()
authorFabii547 <fabiangossner@gmail.com>
Thu, 26 May 2016 08:37:01 +0000 (10:37 +0200)
committerFabii547 <fabiangossner@gmail.com>
Thu, 26 May 2016 08:37:01 +0000 (10:37 +0200)
wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php

index ff956dc68eb1ca6c92c76c038112628bc1175091..51d016dcc0931502ff071a0ca50a176954dbc030 100644 (file)
@@ -212,6 +212,8 @@ class UserOptionAddForm extends AbstractForm {
                if ($this->optionType == 'float') {
                        $this->defaultValue = floatval($this->defaultValue);
                }
+
+               $this->setDefaultOutputClass();
        }
        
        /**