From: Marcel Werk Date: Mon, 18 Jul 2016 15:41:26 +0000 (+0200) Subject: Small OptionHandler improvement X-Git-Tag: 3.0.0_Beta_1~1047 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ccd6d13323b9ff3b581cca856d863f9c0791cb35;p=GitHub%2FWoltLab%2FWCF.git Small OptionHandler improvement --- 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()