aboutsummaryrefslogtreecommitdiffstats
path: root/english/template
diff options
context:
space:
mode:
authorThomas Lange <lange@debian.org>2023-07-23 15:35:12 +0200
committerThomas Lange <lange@debian.org>2023-07-23 15:35:12 +0200
commit1a925fc25a881c6e1072e6d2d07ede387c0a5bcf (patch)
treea1cc69cb55fa750b56bf8f9c91728bcf0fc34df0 /english/template
parent92a672983124eeb92c3bba7ab8cfd9d834bc10a4 (diff)
match against $id not $_
Diffstat (limited to 'english/template')
-rw-r--r--english/template/debian/recent_list.wml2
1 files changed, 1 insertions, 1 deletions
diff --git a/english/template/debian/recent_list.wml b/english/template/debian/recent_list.wml
index aadccaf45f2..c67bcb17a4f 100644
--- a/english/template/debian/recent_list.wml
+++ b/english/template/debian/recent_list.wml
@@ -49,7 +49,7 @@ sub get_top_news() {
# read list of homepagenews
foreach my $id (<DATAFILE>) {
chomp $id;
- next unless /^\d+$/;
+ next unless $id ~= /^\d+$/;
print get_recent_list('News/2y', '1', '$(ENGLISHDIR)', 'bydate frontpage', $id);
}
close DATAFILE;

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