From: Alexander Ebert Date: Mon, 23 Jan 2017 12:22:43 +0000 (+0100) Subject: Fixed template group not recognized during style update X-Git-Tag: 3.0.2~71 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4dd0e80209161c79160eb512507d53888d3368d2;p=GitHub%2FWoltLab%2FWCF.git Fixed template group not recognized during style update --- 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)) {