Skip to content

Commit

Permalink
Fix gallery content module when no extra images
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed May 17, 2021
1 parent 1f8fe2f commit eeba31d
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -35,10 +35,7 @@
}
$other_img .= '</div>';
}
?>
</div>

<?php
$swipe_arrows = '';
if (MODULE_CONTENT_PI_GALLERY_SWIPE_ARROWS == 'True') {
$swipe_arrows = '<a class="carousel-control-prev" href="#carousel" role="button" data-slide="prev"><span class="carousel-control-prev-icon" aria-hidden="true"></span></a><a class="carousel-control-next" href="#carousel" role="button" data-slide="next"><span class="carousel-control-next-icon" aria-hidden="true"></span></a>';
Expand Down Expand Up @@ -84,7 +81,11 @@

echo $pi_image;
echo $pi_thumb;
?>

</div>

<?php
/*
$Id$
Expand Down

0 comments on commit eeba31d

Please sign in to comment.