Skip to content

Commit

Permalink
Fix Undefined index: JHtmlBootstrap::startAccordion
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Nov 14, 2017
1 parent 54eb5d8 commit 8681362
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions components/com_contact/views/contact/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,22 @@
<?php endif; ?>

<?php if ($tparams->get('show_links')) : ?>
<?php if ($presentation_style === 'sliders') : ?>
<?php if (!$accordionStarted)
{
echo JHtml::_('bootstrap.startAccordion', 'slide-contact', array('active' => 'display-links'));
$accordionStarted = true;
}
?>
<?php elseif ($presentation_style === 'tabs') : ?>
<?php if (!$tabSetStarted)
{
echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => 'display-links'));
$tabSetStarted = true;
}
?>
<?php endif; ?>

<?php echo $this->loadTemplate('links'); ?>
<?php endif; ?>

Expand Down

0 comments on commit 8681362

Please sign in to comment.