summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TContent.php
diff options
context:
space:
mode:
authorxue <>2006-02-17 21:14:12 +0000
committerxue <>2006-02-17 21:14:12 +0000
commitcba0c1b472cec22e4ffed2b3b084bea27cd26582 (patch)
tree9a8f8383a93ebb011757423bfc8b39066cb017ea /framework/Web/UI/WebControls/TContent.php
parent35836e45fab30dc4c31a4f51e32b551181e7ec86 (diff)
Fixed #54.
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);
}
}