summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2007-03-06 14:07:50 +0000
committerxue <>2007-03-06 14:07:50 +0000
commitdb15e78676c4bdd76c1f6ff32782c07ff0570029 (patch)
treeedf5f74b43fd68890e31c4fd7431e7331147ef1e /framework
parent14d50e0beb5e7a02d9845a9616ad80466d0bc29e (diff)
fixed a typo.
Diffstat (limited to 'framework')
-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 41b26037..4ec48b23 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -848,7 +848,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;
}