diff options
author | xue <> | 2006-04-17 21:32:48 +0000 |
---|---|---|
committer | xue <> | 2006-04-17 21:32:48 +0000 |
commit | 0f2b34ef1ad76d94f43062f396b7a63e76051659 (patch) | |
tree | 5a98df811c89203a80efe9493b06ea690a22c2ed /framework/Web/UI/TControl.php | |
parent | f3527efd018da03528bd754c654d70506c8b5491 (diff) |
Fixed a bug about control's visibility.
Diffstat (limited to 'framework/Web/UI/TControl.php')
-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 2a3a6a30..3fe34a4c 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -491,7 +491,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable if($checkParents)
{
for($control=$this;$control;$control=$control->_parent)
- if(!$control->getViewState('Visible',true))
+ if(!$control->getVisible(false))
return false;
return true;
}
|