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/VNDB/Handler/Misc.pm | |
parent | 7eca65c37be71d9c677cc99153e0df75902ed8cb (diff) |
VNDB::Types: Convert platforms into %PLATFORM
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r-- | lib/VNDB/Handler/Misc.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm index 366b9429..0e77408d 100644 --- a/lib/VNDB/Handler/Misc.pm +++ b/lib/VNDB/Handler/Misc.pm @@ -158,7 +158,7 @@ sub homepage { li; lit fmtdatestr $_->{released}; txt ' '; - cssicon $_, $self->{platforms}{$_} for (@{$_->{platforms}}); + cssicon $_, $PLATFORM{$_} for (@{$_->{platforms}}); cssicon "lang $_", $LANGUAGE{$_} for (@{$_->{languages}}); txt ' '; a href => "/r$_->{id}", title => $_->{original}||$_->{title}, shorten $_->{title}, 30; @@ -178,7 +178,7 @@ sub homepage { li; lit fmtdatestr $_->{released}; txt ' '; - cssicon $_, $self->{platforms}{$_} for (@{$_->{platforms}}); + cssicon $_, $PLATFORM{$_} for (@{$_->{platforms}}); cssicon "lang $_", $LANGUAGE{$_} for (@{$_->{languages}}); txt ' '; a href => "/r$_->{id}", title => $_->{original}||$_->{title}, shorten $_->{title}, 30; |