Drop the intermediate field for custom SCSS code
authorAlexander Ebert <ebert@woltlab.com>
Mon, 17 Apr 2023 13:57:15 +0000 (15:57 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 17 Apr 2023 13:57:15 +0000 (15:57 +0200)
Fixes #5398

wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php

index f9f942893bbb24d8944a9dc1228bccfeb30f09d8..76b2eb8879c034c12bbf06822e4558eb5d9a5db4 100644 (file)
@@ -118,6 +118,8 @@ class StyleEditForm extends StyleAddForm
                     $variables['individualScssDarkMode'],
                     $variables['individualScssDarkModeCustom']
                 );
+
+                unset($variables['individualScssDarkModeCustom']);
             }
             $variables['overrideScss'] = Style::joinLessVariables(
                 $variables['overrideScss'],