Properly reset parentTemplateGroupID in TemplateGroupAddForm
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 23 May 2014 22:26:57 +0000 (00:26 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 10 Jun 2014 17:17:12 +0000 (19:17 +0200)
wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php

index 65921cc11da6504fddc3d5512e9221978593a7f3..05785b5030320c601a75864b74b6bfac2876896f 100644 (file)
@@ -135,6 +135,7 @@ class TemplateGroupAddForm extends AbstractForm {
                
                // reset values
                $this->templateGroupName = $this->templateGroupFolderName = '';
+               $this->parentTemplateGroupID = 0;
                
                // show success
                WCF::getTPL()->assign(array(