Clear package identifier once styles are marked as tainted
authorAlexander Ebert <ebert@woltlab.com>
Sun, 18 Jun 2017 07:53:49 +0000 (09:53 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 18 Jun 2017 07:53:49 +0000 (09:53 +0200)
wcfsetup/install/files/lib/data/style/StyleAction.class.php

index 8716e8b46d7cc75f0e12fecf5c9bc31687b86758..3320503ef4c74b6c19a1ce0fed0c8312c67b2338 100644 (file)
@@ -750,7 +750,8 @@ class StyleAction extends AbstractDatabaseObjectAction implements IToggleAction,
                $this->styleEditor->setVariables($variables);
                
                $this->styleEditor->update([
-                       'isTainted' => 1
+                       'isTainted' => 1,
+                       'packageName' => ''
                ]);
        }
 }