diff options
author | Yorhel <git@yorhel.nl> | 2019-09-11 15:56:54 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-09-11 15:56:54 +0200 |
commit | 7eca65c37be71d9c677cc99153e0df75902ed8cb (patch) | |
tree | d3b13511e0169f0f6f5a731c7969420d2cdf56f8 /lib/VNDB/Util | |
parent | 8c1faad14d4e4be29c464a3dcf3e2f340c6f8242 (diff) |
VNDB::Types: Convert languages into %LANGUAGE
Diffstat (limited to 'lib/VNDB/Util')
-rw-r--r-- | lib/VNDB/Util/BrowseHTML.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VNDB/Util/BrowseHTML.pm b/lib/VNDB/Util/BrowseHTML.pm index c3115017..749f69f8 100644 --- a/lib/VNDB/Util/BrowseHTML.pm +++ b/lib/VNDB/Util/BrowseHTML.pm @@ -6,6 +6,7 @@ use warnings; use TUWF ':html', 'xml_escape'; use Exporter 'import'; use VNDB::Func; +use VNDB::Types; use POSIX 'ceil'; @@ -202,7 +203,7 @@ sub htmlBrowseVN { for (sort @{$l->{c_platforms}}); end; td class => 'tc3'; - cssicon "lang $_", $self->{languages}{$_} + cssicon "lang $_", $LANGUAGE{$_} for (reverse sort @{$l->{c_languages}}); end; td class => 'tc4'; |