diff --git a/formats/HtmlFormat.php b/formats/HtmlFormat.php index c4c5012a..3174c7e6 100644 --- a/formats/HtmlFormat.php +++ b/formats/HtmlFormat.php @@ -48,7 +48,7 @@ class HtmlFormat extends FormatAbstract { } $entryCategories = ''; - if(isset($item['categories'])) { + if(isset($item['categories']) && count($item['categories']) > 0) { $entryCategories = '
Categories:
'; foreach($item['categories'] as $category) {