small fixes

This commit is contained in:
slawkens
2022-11-28 21:37:38 +01:00
parent 60f64e21d8
commit 35928fe576
2 changed files with 2 additions and 3 deletions

View File

@@ -64,7 +64,6 @@ if(isset($_GET['archive']))
'icon' => $categories[$news['category']]['icon_id'],
'author' => $config['news_author'] ? $author : '',
'comments' => $news['comments'] != 0 ? getForumThreadLink($news['comments']) : null,
'news_date_format' => $config['news_date_format']
));
}
else
@@ -214,7 +213,6 @@ if(!$news_cached)
'icon' => $categories[$news['category']]['icon_id'],
'author' => $config['news_author'] ? $author : '',
'comments' => $news['comments'] != 0 ? getForumThreadLink($news['comments']) : null,
'news_date_format' => $config['news_date_format'],
'hidden'=> $news['hidden']
));
}