diff options
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TControl.php | 2 |
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;
}
|