diff options
Diffstat (limited to 'framework/Web')
-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);
}
|