Skip to content

Commit

Permalink
Fix use default visible(show/hide) value
Browse files Browse the repository at this point in the history
  • Loading branch information
joomlart committed Feb 1, 2013
1 parent cb5f4e9 commit 1879476
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/plg_system_t3/includes/core/templatelayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,10 @@ function _c ($name, $cls = array()) {

$posparams = $this->getLayoutSetting($name, '');

$oinfo = $this->parseInfo($cls);
$cinfo = $this->parseInfo($posparams);
$cinfo = $oinfo = $this->parseInfo($cls);
if(!empty($posparams)){
$cinfo = $this->parseInfo($posparams);
}

$visible = array(
'name' => $name,
Expand Down

0 comments on commit 1879476

Please sign in to comment.