diff options
author | Yorhel <git@yorhel.nl> | 2016-01-16 11:52:22 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2016-01-16 15:11:36 +0100 |
commit | 6313653b01652affded23d682d136e5e6ee42799 (patch) | |
tree | 528263a90a2c336c3ab6226c211a1abeccffacb3 /lib/VNDB/Handler/VNBrowse.pm | |
parent | ca1a9c48c24a436babd30ad9e315db2781364879 (diff) |
L10N: Intern languages/platforms/resolutions/media/ptype/rtype/vnlength
Diffstat (limited to 'lib/VNDB/Handler/VNBrowse.pm')
-rw-r--r-- | lib/VNDB/Handler/VNBrowse.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm index 01f5bc61..cef51f11 100644 --- a/lib/VNDB/Handler/VNBrowse.pm +++ b/lib/VNDB/Handler/VNBrowse.pm @@ -122,8 +122,8 @@ sub _fil_compat { my $self = shift; my %c; my $f = $self->formValidate( - { get => 'ln', required => 0, multi => 1, enum => $self->{languages}, default => '' }, - { get => 'pl', required => 0, multi => 1, enum => $self->{platforms}, default => '' }, + { get => 'ln', required => 0, multi => 1, enum => [ keys %{$self->{languages}} ], default => '' }, + { get => 'pl', required => 0, multi => 1, enum => [ keys %{$self->{platforms}} ], default => '' }, { get => 'sp', required => 0, default => ($self->reqCookie('tagspoil')||'') =~ /^([0-2])$/ ? $1 : 0, enum => [0..2] }, ); return () if $f->{_err}; |