From: Alexander Ebert Date: Sat, 12 Mar 2016 12:50:45 +0000 (+0100) Subject: Fixed SCSS variables (used LESS syntax) X-Git-Tag: 3.0.0_Beta_1~2030^2~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=babb1e05b57da38c472147629ddbee89bdd7c511;p=GitHub%2FWoltLab%2FWCF.git Fixed SCSS variables (used LESS syntax) --- diff --git a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php index b019aaf12d..a6c655a05e 100644 --- a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php +++ b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php @@ -297,7 +297,7 @@ class StyleCompiler extends SingletonFactory { if (PACKAGE_ID) { foreach (Option::getOptions() as $constantName => $option) { if (in_array($option->optionType, static::$supportedOptionType)) { - $variables['wcf_option_'.mb_strtolower($constantName)] = '~"'.$option->optionValue.'"'; + $variables['wcf_option_'.mb_strtolower($constantName)] = (is_integer($option->optionValue)) ? $option->optionValue : '"'.$option->optionValue.'"'; } } }