aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/weeklynews
diff options
context:
space:
mode:
authorDavid Prévot <taffit-guest>2011-04-25 16:03:53 +0000
committerDavid Prévot <taffit-guest>2011-04-25 16:03:53 +0000
commitf8c5d7403d4c244d9ec5b3f0d264a57683f9bee2 (patch)
treee8c56bede01f7bd29f8183a2cfceea0c6f025d0f /english/template/debian/weeklynews
parent1b3e43fe39ac68dba99f58e10cc174d78820bf07 (diff)
Fix DWN and DPN yearly index, thanks to Nobuyuki Morita for the patch, closes: #510894
CVS version numbers english/News/weekly/Makefile: 1.54 -> 1.55 english/template/debian/projectnews/index.wml: 1.1 -> 1.2 english/template/debian/weeklynews/index.wml: 1.27 -> 1.28
Diffstat (limited to 'english/template/debian/weeklynews')
-rw-r--r--english/template/debian/weeklynews/index.wml2
1 files changed, 1 insertions, 1 deletions
diff --git a/english/template/debian/weeklynews/index.wml b/english/template/debian/weeklynews/index.wml
index 205c09d52aa..9d15b669521 100644
--- a/english/template/debian/weeklynews/index.wml
+++ b/english/template/debian/weeklynews/index.wml
@@ -63,7 +63,7 @@ sub get_weeklynews_list {
close DIR;
# Get more if necessary.
- if ($count < 10 && $reccount < 3 ) {
+ if ($year == $currentyear && $count < 10 && $reccount < 3 ) {
$str.=get_weeklynews_list($year - 1, $eng_dir, $match, $noyear, $count, 10, $reccount++);
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy