From ed7857aee148c78ad3e7824887525ee3d82521ad Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 18 Oct 2015 11:53:22 +0200 Subject: [PATCH] Fix editing styles --- wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php index 8b49c403fe..eb80dd2588 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php @@ -64,11 +64,11 @@ class StyleEditForm extends StyleAddForm { if (!$this->style->isTainted) { $tmp = Style::splitLessVariables($this->variables['individualLess']); - $this->variables['individualLess'] = $tmp['original']; + $this->variables['individualLess'] = $tmp['preset']; $this->variables['individualLessCustom'] = $tmp['custom']; $tmp = Style::splitLessVariables($this->variables['overrideLess']); - $this->variables['overrideLess'] = $tmp['original']; + $this->variables['overrideLess'] = $tmp['preset']; $this->variables['overrideLessCustom'] = $tmp['custom']; } } -- 2.20.1