summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-12-20 14:52:55 +0100
committerYorhel <git@yorhel.nl>2019-12-20 14:52:55 +0100
commit1b47e52e88d90478ff39744732085924fe5a51f2 (patch)
tree20c41dc81d03efdd68cff488d410345d51c2a3aa /lib
parent4db09bea041b9d619b77942c74864f650ac14c4e (diff)
ulist: Fix bug when user only has "no label" VNs
Diffstat (limited to 'lib')
-rw-r--r--lib/VNWeb/User/Lists.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/User/Lists.pm b/lib/VNWeb/User/Lists.pm
index 2a25fac4..4e5ff7f9 100644
--- a/lib/VNWeb/User/Lists.pm
+++ b/lib/VNWeb/User/Lists.pm
@@ -531,7 +531,7 @@ TUWF::get qr{/$RE{uid}/ulist}, sub {
voteprivate => (map \($_->{private}?1:0), grep $_->{id} == 7, @$labels),
} ) : (),
sub {
- my $empty = !grep $_->{count}, @$labels;
+ my $empty = !grep $_->{count}, @$filtlabels;
div_ class => 'mainbox', sub {
h1_ $title;
if($empty) {