From 3057be07aa38970f060a41a5a125e9ae0a286021 Mon Sep 17 00:00:00 2001 From: filip Date: Sat, 28 Apr 2018 15:12:34 +0200 Subject: link fix --- en/community/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'en/community') diff --git a/en/community/index.php b/en/community/index.php index 994597015..eab67555d 100644 --- a/en/community/index.php +++ b/en/community/index.php @@ -56,12 +56,12 @@ include '../../lib/news.php'; $eng_posts_title = $fresh_blog_post_titles[3]; $fresh_eng_posts = $fresh_blog_post_titles[4]; $num_fresh_eng_posts = count($fresh_eng_posts); - + if(0 != $num_fresh_loc_posts) { - show_feed($locale, _r('Localised news') . " ($loc_posts_title)", '', '', 0, null, true, null, $fresh_loc_posts); + show_feed($locale, _r('Localised news') . " ($loc_posts_title)", $fresh_loc_posts[0]["source"], '', 0, null, true, null, $fresh_loc_posts); } if(0 != $num_fresh_eng_posts) { - show_feed($locale, _r('News in English') . " ($eng_posts_title)", '', '', 0, null, true, null, $fresh_eng_posts); + show_feed($locale, _r('News in English') . " ($eng_posts_title)", $fresh_eng_posts[0]["source"], '', 0, null, true, null, $fresh_eng_posts); } // don't work: //show_feed('Mageia MLs', '', 'https://ml.mageia.org/l/rss/active_lists?count=20&for=10'); -- cgit v1.2.1