aboutsummaryrefslogtreecommitdiffstats
path: root/english/template
diff options
context:
space:
mode:
authorThomas Lange <lange@debian.org>2023-07-23 21:43:44 +0200
committerThomas Lange <lange@debian.org>2023-07-23 21:43:44 +0200
commit6c6a9e058e8449855b41ab369dae3d99fd4504de (patch)
treea75860d017a7849c69436353b788add3234142db /english/template
parent2da7f71bde01816e2c04be43c3adc4de8edb9687 (diff)
fix syntax error
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 c67bcb17a4f..20b94539287 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 $id ~= /^\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