aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/community/index.php6
1 files changed, 3 insertions, 3 deletions
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');