summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2022-08-25 19:15:03 +0200
committerYorhel <git@yorhel.nl>2022-08-25 19:15:03 +0200
commitb2b80247d593428c6fed0bb0c15245e3e70d7fc1 (patch)
tree507d4d876eab6577ec978f2ce519ab5f5f705d74 /lib
parentd359ebd12fc53c31340fe7d748331cfecdf2b070 (diff)
VN::Page: More expanding preference unbugging
Diffstat (limited to 'lib')
-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 baf0c58f..cdf5c499 100644
--- a/lib/VNWeb/VN/Page.pm
+++ b/lib/VNWeb/VN/Page.pm
@@ -639,7 +639,7 @@ sub staff_ {
next if !$lst;
my $lang = ($e && $e->{lang}) || $v->{olang};
my $unoff = $e && !$e->{official};
- my $open = ($pref->{staffed_olang} && !$e) || ($pref->{staffed_langs}{$lang} && (!$unoff || $pref->{staffed_mtl}));
+ my $open = ($pref->{staffed_olang} && !$e) || ($pref->{staffed_langs}{$lang} && (!$unoff || $pref->{staffed_unoff}));
details_ open => $open?'open':undef, sub {
summary_ sub {
abbr_ class => "icons lang $e->{lang}", title => $LANGUAGE{$e->{lang}}, '' if $e && $e->{lang};