From c2e61e72d621020691309d5478e58e4df540e53f Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 10 Dec 2005 13:10:50 +0000 Subject: --- framework/Web/UI/TControl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web') 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); } -- cgit v1.2.3