From ccd6d13323b9ff3b581cca856d863f9c0791cb35 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 18 Jul 2016 17:41:26 +0200 Subject: [PATCH] Small OptionHandler improvement --- wcfsetup/install/files/lib/system/option/OptionHandler.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/option/OptionHandler.class.php b/wcfsetup/install/files/lib/system/option/OptionHandler.class.php index 9b3a471de8..9f2efe6aa1 100644 --- a/wcfsetup/install/files/lib/system/option/OptionHandler.class.php +++ b/wcfsetup/install/files/lib/system/option/OptionHandler.class.php @@ -277,6 +277,7 @@ class OptionHandler implements IOptionHandler { return [ 'object' => $option, + 'value' => (isset($this->optionValues[$option->optionName]) ? $this->optionValues[$option->optionName] : null), 'html' => $html, 'cssClassName' => $this->getTypeObject($option->optionType)->getCSSClassName(), 'hideLabelInSearch' => $this->getTypeObject($option->optionType)->hideLabelInSearch() -- 2.20.1