diff --git a/formats/HtmlFormat.php b/formats/HtmlFormat.php index c4c5012..3174c7e 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) {