From babb1e05b57da38c472147629ddbee89bdd7c511 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 12 Mar 2016 13:50:45 +0100 Subject: [PATCH] Fixed SCSS variables (used LESS syntax) --- wcfsetup/install/files/lib/system/style/StyleCompiler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'"'; } } } -- 2.20.1