Strip the internal font family values because their presence can confuse the compiler
authorAlexander Ebert <ebert@woltlab.com>
Thu, 6 Dec 2018 12:36:31 +0000 (13:36 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 6 Dec 2018 12:36:31 +0000 (13:36 +0100)
wcfsetup/install/files/lib/system/style/StyleCompiler.class.php

index 7597e4786aafb876698e8ada21d780173b451804..836a205e915eec6cbf8d9bd4f5a9b24bb1173ca7 100644 (file)
@@ -313,6 +313,8 @@ class StyleCompiler extends SingletonFactory {
                if (!empty($variables['wcfFontFamilyGoogle'])) {
                        $variables['wcfFontFamily'] = '"' . $variables['wcfFontFamilyGoogle'] . '", ' . $variables['wcfFontFamily'];
                }
+               unset($variables['wcfFontFamilyFallback']);
+               unset($variables['wcfFontFamilyGoogle']);
                
                // add options as SCSS variables
                if (PACKAGE_ID) {