From 0bf96cc63d41df5cacf93a0d903c25a5de4eeb25 Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Thu, 26 May 2016 10:37:01 +0200 Subject: [PATCH] Add missing call to UserOptionAddForm::setDefaultOutputClass() --- wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php b/wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php index ff956dc68e..51d016dcc0 100644 --- a/wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php @@ -212,6 +212,8 @@ class UserOptionAddForm extends AbstractForm { if ($this->optionType == 'float') { $this->defaultValue = floatval($this->defaultValue); } + + $this->setDefaultOutputClass(); } /** -- 2.20.1