From 4dd0e80209161c79160eb512507d53888d3368d2 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 23 Jan 2017 13:22:43 +0100 Subject: [PATCH] Fixed template group not recognized during style update --- wcfsetup/install/files/lib/data/style/StyleEditor.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php index 62a1d98a95..c6ab9d76b4 100644 --- a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php +++ b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php @@ -360,6 +360,7 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject $templateGroupFolderName = ''; if ($style !== null && $style->templateGroupID) { $templateGroupFolderName = (new TemplateGroup($style->templateGroupID))->templateGroupFolderName; + $styleData['templateGroupID'] = $style->templateGroupID; } if (empty($templateGroupFolderName)) { -- 2.20.1