From: Matthias Schmidt Date: Sun, 18 Oct 2015 09:53:22 +0000 (+0200) Subject: Fix editing styles X-Git-Tag: 3.0.0_Beta_1~2104 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed7857aee148c78ad3e7824887525ee3d82521ad;p=GitHub%2FWoltLab%2FWCF.git Fix editing styles --- 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']; } }