Fix editing styles
authorMatthias Schmidt <gravatronics@live.com>
Sun, 18 Oct 2015 09:53:22 +0000 (11:53 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 18 Oct 2015 09:53:22 +0000 (11:53 +0200)
wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php

index 8b49c403fe35fdfc2dcfdb497e68e4030cb13323..eb80dd2588f98cd0acdc8c640af64b4d41bd8125 100644 (file)
@@ -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'];
                }
        }