From: Alexander Ebert Date: Sat, 9 Jan 2016 13:20:14 +0000 (+0100) Subject: small work-around for style updating X-Git-Tag: 3.0.0_Beta_1~2030^2~165^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9e66ec5a5196ae1b3a45d551d75c2f12d56706d;p=GitHub%2FWoltLab%2FWCF.git small work-around for style updating --- 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(