From e9e66ec5a5196ae1b3a45d551d75c2f12d56706d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 9 Jan 2016 14:20:14 +0100 Subject: [PATCH] small work-around for style updating --- wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php | 5 +++-- 1 file changed, 3 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 eb80dd2588..6a17e4594f 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php @@ -115,13 +115,14 @@ class StyleEditForm extends StyleAddForm { public function save() { AbstractForm::save(); - if (!$this->style->isTainted) { + // TODO: how should this actually work? + /*if (!$this->style->isTainted) { $this->variables['individualLess'] = Style::joinLessVariables($this->variables['individualLess'], $this->variables['individualLessCustom']); $this->variables['overrideLess'] = Style::joinLessVariables($this->variables['overrideLess'], $this->variables['overrideLessCustom']); unset($this->variables['individualLessCustom']); unset($this->variables['overrideLessCustom']); - } + }*/ $this->objectAction = new StyleAction(array($this->style), 'update', array( 'data' => array_merge($this->additionalFields, array( -- 2.20.1