Skip to content

Commit

Permalink
[mod_articles_category] Fatal error (#20834)
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyKZ authored and Michael Babker committed Jun 22, 2018
1 parent 1c63e2c commit 7a8795d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_articles_category/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<?php echo $readmore; ?>
<?php echo JHtml::_('string.truncate', $item->title, $params->get('readmore_limit')); ?>
<?php if ($params->get('show_readmore_title', 0) != 0) : ?>
<?php echo JHtml::_('string.truncate', $this->item->title, $params->get('readmore_limit')); ?>
<?php echo JHtml::_('string.truncate', $item->title, $params->get('readmore_limit')); ?>
<?php endif; ?>
<?php elseif ($params->get('show_readmore_title', 0) == 0) : ?>
<?php echo JText::sprintf('MOD_ARTICLES_CATEGORY_READ_MORE_TITLE'); ?>
Expand Down

0 comments on commit 7a8795d

Please sign in to comment.