summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/TTemplateControl.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php
index 72731ecd..e3c4d3e9 100644
--- a/framework/Web/UI/TTemplateControl.php
+++ b/framework/Web/UI/TTemplateControl.php
@@ -65,6 +65,7 @@ class TTemplateControl extends TControl implements INamingContainer
{
foreach($tpl->getDirective() as $name=>$value)
$this->setSubProperty($name,$value);
+ $this->ensureChildControls();
}
}