From 1ef5b9e2981da936b392c5d9eff854f47a481c9a Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 13 Feb 2024 17:49:59 +0100 Subject: [PATCH] Force skip rogue values for `individualScssDarkMode` See https://www.woltlab.com/community/thread/304477/ --- wcfsetup/install/files/lib/system/style/StyleCompiler.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php index 9cd20e687a..79399724f5 100644 --- a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php +++ b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php @@ -272,6 +272,8 @@ final class StyleCompiler extends SingletonFactory } } + unset($variables[Style::DARK_MODE_PREFIX . 'individualScssDarkMode']); + // add style image path $imagePath = '../images/'; if ($style->imagePath) { -- 2.20.1