aboutsummaryrefslogtreecommitdiffstats
path: root/en/community
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2018-04-28 15:12:34 +0200
committerfilip <filip.komar@gmail.com>2018-04-28 15:12:34 +0200
commit3057be07aa38970f060a41a5a125e9ae0a286021 (patch)
treedac34811d03df58190d46cde48b303141deafa6b /en/community
parent4263f8922f4f6efee5ef2beea8e6b7cdbb61044b (diff)
downloadwww-3057be07aa38970f060a41a5a125e9ae0a286021.tar
www-3057be07aa38970f060a41a5a125e9ae0a286021.tar.gz
www-3057be07aa38970f060a41a5a125e9ae0a286021.tar.bz2
www-3057be07aa38970f060a41a5a125e9ae0a286021.tar.xz
www-3057be07aa38970f060a41a5a125e9ae0a286021.zip
link fix
Diffstat (limited to 'en/community')
-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');