diff options
author | Yorhel <git@yorhel.nl> | 2019-09-11 16:11:32 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-09-11 16:11:32 +0200 |
commit | 500d19bd7c5c2c3e6a73b8b5ae0aa5ab39182df7 (patch) | |
tree | 6e3b345e46cfb92748d0061a62f7ee61889e7836 /lib/Multi | |
parent | 7eca65c37be71d9c677cc99153e0df75902ed8cb (diff) |
VNDB::Types: Convert platforms into %PLATFORM
Diffstat (limited to 'lib/Multi')
-rw-r--r-- | lib/Multi/API.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm index 2665ad49..28ed8bc2 100644 --- a/lib/Multi/API.pm +++ b/lib/Multi/API.pm @@ -1196,7 +1196,7 @@ sub get_filters { } elsif(${$o{process}} eq 'lang') { return cerr $c, filter => 'Invalid language code', %e if !$LANGUAGE{$v}; } elsif(${$o{process}} eq 'plat') { - return cerr $c, filter => 'Invalid platform code', %e if !$VNDB::S{platforms}{$v}; + return cerr $c, filter => 'Invalid platform code', %e if !$PLATFORM{$v}; } } |