Skip to content

Commit

Permalink
Remove redundant if $this->item->pagination (joomla#37861)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReLater authored May 28, 2022
1 parent 49ee9cc commit 86c0c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_content/tmpl/article/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<?php if ($params->get('access-view')) : ?>
<?php echo LayoutHelper::render('joomla.content.full_image', $this->item); ?>
<?php
if (!empty($this->item->pagination) && $this->item->pagination && !$this->item->paginationposition && !$this->item->paginationrelative) :
if (!empty($this->item->pagination) && !$this->item->paginationposition && !$this->item->paginationrelative) :
echo $this->item->pagination;
endif;
?>
Expand Down

0 comments on commit 86c0c54

Please sign in to comment.