Skip to content

Commit

Permalink
set default num_columns on blog layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbearman committed Sep 12, 2021
1 parent 8acd29e commit 9b4ef7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
JHtml::_('behavior.caption');
}
$this->columns = !empty($this->columns) ? $this->columns : $this->params->get('num_columns','1');

if(!$this->columns) $this->columns = 1;
$app = JFactory::getApplication();

$this->category->text = $this->category->description;
Expand Down

0 comments on commit 9b4ef7c

Please sign in to comment.