diff options
author | Thomas Lange <lange@debian.org> | 2023-07-23 15:35:12 +0200 |
---|---|---|
committer | Thomas Lange <lange@debian.org> | 2023-07-23 15:35:12 +0200 |
commit | 1a925fc25a881c6e1072e6d2d07ede387c0a5bcf (patch) | |
tree | a1cc69cb55fa750b56bf8f9c91728bcf0fc34df0 /english/template | |
parent | 92a672983124eeb92c3bba7ab8cfd9d834bc10a4 (diff) |
match against $id not $_
Diffstat (limited to 'english/template')
-rw-r--r-- | english/template/debian/recent_list.wml | 2 |
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; |