summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2017-06-15 21:31:14 +0200
committerYorhel <git@yorhel.nl>2017-06-15 21:31:14 +0200
commite1eea93cdc34d58d6d020ed582f7fede02b5a77b (patch)
treef3b7738241c9b69ee9519b3d55937348d6eb51e8
parent036bea03fd30a282ef49a6c16816c59a6480e196 (diff)
Fixup variable rename in last commit
-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;
}