summaryrefslogtreecommitdiff
path: root/lib/VNWeb
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-01-18 16:17:40 +0100
committerYorhel <git@yorhel.nl>2021-01-18 16:19:00 +0100
commitfb28dc0312a709a7e8da0ce70bf32652681f9732 (patch)
tree1e5e02c5c7b0f97a36f5c2e127bed71b4659f2c7 /lib/VNWeb
parent512e82ef617f66f941811c1419ec14dc2313c83a (diff)
Staff::List: Fix harmless perl warning
Maybe I should actually look at the logs during development.
Diffstat (limited to 'lib/VNWeb')
-rw-r--r--lib/VNWeb/Staff/List.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Staff/List.pm b/lib/VNWeb/Staff/List.pm
index 654fd766..967591d7 100644
--- a/lib/VNWeb/Staff/List.pm
+++ b/lib/VNWeb/Staff/List.pm
@@ -90,7 +90,7 @@ TUWF::get qr{/s(?:/(?<char>all|[a-z0]))?}, sub {
button_ type => 'submit', name => 'n', value => 1, $opt->{n} ? (class => 'optselected') : (), 'Hide aliases';
};
input_ type => 'hidden', name => 'ch', value => $opt->{ch}//'';
- input_ type => 'hidden', name => 'n', value => $opt->{n};
+ input_ type => 'hidden', name => 'n', value => $opt->{n}//0;
$opt->{f}->elm_;
advsearch_msg_ $count, $time;
};