summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Chars.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNDB/Handler/Chars.pm')
-rw-r--r--lib/VNDB/Handler/Chars.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Chars.pm b/lib/VNDB/Handler/Chars.pm
index 9e6a4a86..861193c8 100644
--- a/lib/VNDB/Handler/Chars.pm
+++ b/lib/VNDB/Handler/Chars.pm
@@ -90,10 +90,10 @@ sub page {
}
if(@$inst) {
my $spoil = sub { local $_=shift; !$r->{main} ? $_->{main_spoil} : $_->{main_spoil} > $r->{main_spoil} ? $_->{main_spoil} : $r->{main_spoil} };
- my $minspoil = min map $isspoil->($_), @$inst;
+ my $minspoil = min map $spoil->($_), @$inst;
div class => 'mainbox '.charspoil($minspoil);
h1 'Other instances';
- $self->charTable($_, 1, $_ != $inst->[0], 0, $isspoil->($_)) for @$inst;
+ $self->charTable($_, 1, $_ != $inst->[0], 0, $spoil->($_)) for @$inst;
end;
}