summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorxue <>2007-03-06 14:08:14 +0000
committerxue <>2007-03-06 14:08:14 +0000
commit34cae62180fe350a5168502bdc479f8e40e6e4fa (patch)
tree45fa0dfd171bd86687ae55c18d3ef6e1e0a8f167 /framework/Web/UI
parent13bbe877ff40d62431f78da6daad4615a92698ec (diff)
fixed a typo.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/TControl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index a0242d54..85770cb4 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -849,7 +849,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
$this->_flags |= self::IS_CHILD_CREATED;
else
{
- if($this->hasControl() && ($this->_flags & self::IS_CHILD_CREATED))
+ if($this->getHasControls() && ($this->_flags & self::IS_CHILD_CREATED))
$this->getControls()->clear();
$this->_flags &= ~self::IS_CHILD_CREATED;
}