From: Tim Düsterhus Date: Fri, 23 May 2014 22:26:57 +0000 (+0200) Subject: Properly reset parentTemplateGroupID in TemplateGroupAddForm X-Git-Tag: 2.1.0_Alpha_1~732^2~2^2~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f4a92d461340af37ded1100fdc0f837f6b42c01;p=GitHub%2FWoltLab%2FWCF.git Properly reset parentTemplateGroupID in TemplateGroupAddForm --- diff --git a/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php b/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php index 65921cc11d..05785b5030 100644 --- a/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php @@ -135,6 +135,7 @@ class TemplateGroupAddForm extends AbstractForm { // reset values $this->templateGroupName = $this->templateGroupFolderName = ''; + $this->parentTemplateGroupID = 0; // show success WCF::getTPL()->assign(array(