diff options
author | xue <> | 2005-12-10 13:10:50 +0000 |
---|---|---|
committer | xue <> | 2005-12-10 13:10:50 +0000 |
commit | c2e61e72d621020691309d5478e58e4df540e53f (patch) | |
tree | 20dd82a4e352cf4b0575650c73885f8810efb41b /framework/Web/UI | |
parent | 2b90f0d2a6ce4c17dde8f69cb8b9d9f9757707b7 (diff) |
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TControl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 7a123ed2..86397770 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -461,7 +461,7 @@ class TControl extends TComponent * @param boolean whether the parents should also be checked if visible
* @return boolean whether the control is visible (default=true).
*/
- public function getVisible($checkParents=false)
+ public function getVisible($checkParents=true)
{
if($checkParents)
{
@@ -1164,7 +1164,7 @@ class TControl extends TComponent */
protected function renderControl($writer)
{
- if($this->getVisible())
+ if($this->getVisible(false))
$this->render($writer);
}
|