Skip to content

Commit 6fc8f6c

Browse files
authored
[5.4] mod_articles conditional readmore (#47263)
1 parent d6b7cc3 commit 6fc8f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/mod_articles/tmpl/default_items.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108

109109
<?php echo $item->event->afterDisplayContent; ?>
110110

111-
<?php if ($params->get('show_readmore')) : ?>
111+
<?php if ($params->get('show_readmore') && !empty($item->fulltext)) : ?>
112112
<?php if ($params->get('show_readmore_title', '') !== '') : ?>
113113
<?php $item->params->set('show_readmore_title', $params->get('show_readmore_title')); ?>
114114
<?php $item->params->set('readmore_limit', $params->get('readmore_limit')); ?>

0 commit comments

Comments
 (0)