Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
#319: Check sidebar before displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
allanpilarca committed Mar 5, 2018
1 parent 909f809 commit a9ca4b6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
$sortFields = $this->getSortFields();
?>

<?php JFactory::getDocument()->setBuffer($this->sidebar, 'modules', 'submenu'); ?>
<?php if (!empty($this->sidebar)): ?>
<?php JFactory::getDocument()->setBuffer($this->sidebar, 'modules', 'submenu'); ?>
<?php endif; ?>

<!-- Component -->
<form class="k-component k-js-component k-js-grid-controller k-js-grid" action="<?php echo JRoute::_('index.php?option=com_tags&view=tags');?>" method="post" name="adminForm" id="adminForm">
Expand Down

0 comments on commit a9ca4b6

Please sign in to comment.