Extended the list of supported option types for comparisons in SCSS code
authorAlexander Ebert <ebert@woltlab.com>
Tue, 20 Nov 2018 11:40:39 +0000 (12:40 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 20 Nov 2018 11:40:39 +0000 (12:40 +0100)
See #2627

wcfsetup/install/files/lib/system/style/StyleCompiler.class.php

index 7597e4786aafb876698e8ada21d780173b451804..67151359fd398e8e4f7e62adeea89e63e49d067e 100644 (file)
@@ -32,7 +32,7 @@ class StyleCompiler extends SingletonFactory {
         * names of option types which are supported as additional variables
         * @var string[]
         */
-       public static $supportedOptionType = ['boolean', 'integer'];
+       public static $supportedOptionType = ['boolean', 'float', 'integer', 'radioButton', 'select'];
        
        /**
         * file used to store global SCSS declarations, relative to `WCF_DIR`