summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/VNBrowse.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-09-11 16:11:32 +0200
committerYorhel <git@yorhel.nl>2019-09-11 16:11:32 +0200
commit500d19bd7c5c2c3e6a73b8b5ae0aa5ab39182df7 (patch)
tree6e3b345e46cfb92748d0061a62f7ee61889e7836 /lib/VNDB/Handler/VNBrowse.pm
parent7eca65c37be71d9c677cc99153e0df75902ed8cb (diff)
VNDB::Types: Convert platforms into %PLATFORM
Diffstat (limited to 'lib/VNDB/Handler/VNBrowse.pm')
-rw-r--r--lib/VNDB/Handler/VNBrowse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm
index 2049e455..b3ec9dc6 100644
--- a/lib/VNDB/Handler/VNBrowse.pm
+++ b/lib/VNDB/Handler/VNBrowse.pm
@@ -133,7 +133,7 @@ sub _fil_compat {
my %c;
my $f = $self->formValidate(
{ get => 'ln', required => 0, multi => 1, enum => [ keys %LANGUAGE ], default => '' },
- { get => 'pl', required => 0, multi => 1, enum => [ keys %{$self->{platforms}} ], default => '' },
+ { get => 'pl', required => 0, multi => 1, enum => [ keys %PLATFORM ], default => '' },
{ get => 'sp', required => 0, default => ($self->reqCookie('tagspoil')||'') =~ /^([0-2])$/ ? $1 : 0, enum => [0..2] },
);
return () if $f->{_err};