From 9f4a92d461340af37ded1100fdc0f837f6b42c01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 24 May 2014 00:26:57 +0200 Subject: [PATCH] Properly reset parentTemplateGroupID in TemplateGroupAddForm --- .../install/files/lib/acp/form/TemplateGroupAddForm.class.php | 1 + 1 file changed, 1 insertion(+) 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( -- 2.20.1