From 2bec8b30e80db2b297c3263eeacb9c3f42a2109b Mon Sep 17 00:00:00 2001 From: filip Date: Fri, 2 Oct 2020 22:10:33 +0200 Subject: bugfix for single match of eng blog if eng planet and localized planet and blog is 0 --- lib/news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/news.php b/lib/news.php index 47fc46ac4..457ae2b12 100644 --- a/lib/news.php +++ b/lib/news.php @@ -235,7 +235,7 @@ function prepare_fresh_blog_post_titles($eng_planet_url, $eng_blog_url, $loc_pla // prepare fresh enough English blog posts if there's no English planet posts if (0 == count($fresh_eng_posts)) { $eng_blog_posts = get_feed($eng_blog_url . '?type=rss10', $req_quantity); - if (count($eng_blog_posts) > 1) { + if (count($eng_blog_posts) >= 1) { $eng_posts_title = _r('Blog'); $first_source = 4; foreach ($eng_blog_posts as $blog_post) { -- cgit v1.2.1