summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-04-21 10:36:42 +0200
committerYorhel <git@yorhel.nl>2021-04-21 10:36:42 +0200
commitbfeeb6c42d9cc1919604ccbc5a0413387ac678d5 (patch)
tree87b2bd3c8003e915ef288d0d36e8889271591996
parent4f24510448c43a143390dbde0b1fe06f4de01686 (diff)
VN::Page: Fix oopsie
-rw-r--r--lib/VNWeb/VN/Page.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/VN/Page.pm b/lib/VNWeb/VN/Page.pm
index 0453cc09..6468f96a 100644
--- a/lib/VNWeb/VN/Page.pm
+++ b/lib/VNWeb/VN/Page.pm
@@ -182,7 +182,7 @@ sub infobox_producers_ {
push @lang, $_->{lang} if !$lang{$_->{lang}};
push $lang{$_->{lang}}->@*, $_;
}
- next if !keys %lang;
+ return if !keys %lang;
use sort 'stable';
@lang = sort { ($b eq $v->{olang}) cmp ($a eq $v->{olang}) } @lang;