summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TContent.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TContent.php')
-rw-r--r--framework/Web/UI/WebControls/TContent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TContent.php b/framework/Web/UI/WebControls/TContent.php
index f2c6f0ac..0ccc57f8 100644
--- a/framework/Web/UI/WebControls/TContent.php
+++ b/framework/Web/UI/WebControls/TContent.php
@@ -41,7 +41,7 @@ class TContent extends TControl implements INamingContainer
{
if(($id=$this->getID())==='')
throw new TConfigurationException('content_id_required');
- $this->getTemplateControl()->registerContent($this);
+ $this->getTemplateControl()->registerContent($id,$this);
}
}