diff --git a/phpBB/feed.php b/phpBB/feed.php
index a5ffbf3412..8b241176b8 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -188,7 +188,7 @@ foreach ($item_vars as $row)
echo '' . "\n";
echo '
' . "\n\n";
- if (!empty($row['category']) && isset($row['category_name']))
+ if (!empty($row['category']) && isset($row['category_name']) && $row['category_name'] !== '')
{
echo '' . "\n";
}
@@ -1161,7 +1161,7 @@ class phpbb_feed_topics extends phpbb_feed_base
{
global $user;
- $item_row['statistics'] = $user->lang['POSTED'] . ' ' . $user->lang['POST_BY_AUTHOR'] . ' ' . $this->user_viewprofile($row)
+ $item_row['statistics'] = $user->lang['POSTED'] . ' ' . $user->lang['POST_BY_AUTHOR'] . ' ' . $this->user_viewprofile($row)
. ' ' . $this->separator_stats . ' ' . $user->format_date($row['topic_time'])
. ' ' . $this->separator_stats . ' ' . $user->lang['REPLIES'] . ' ' . $row['topic_replies']
. ' ' . $this->separator_stats . ' ' . $user->lang['VIEWS'] . ' ' . $row['topic_views'];