diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc index f292178697..7a964de596 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc @@ -9,7 +9,7 @@ [% END %] [% BLOCK koha_news_block %] - [% IF ( news.content.count > 0 ) %] + [% IF ( news.content && news.content.count > 0 ) %]