summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/BrowseHTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-02-02 18:33:51 +0100
committerYorhel <git@yorhel.nl>2010-02-02 18:33:51 +0100
commit1c0c4477f76dee105274aab7efe58b4381533b80 (patch)
tree39becf82b0c38ace8012697c1c7021350c56f437 /lib/VNDB/Util/BrowseHTML.pm
parent3dc88eb0b242a1e26f7e6884d20fa63d30f5aab3 (diff)
SQL: Converted language columns to an ENUM type
And changed vn.c_languages to an array type while I was at it. This required some changes in the Perl code, and I found a bug in DBD::Pg while I was at it: https://rt.cpan.org/Ticket/Display.html?id=54224 Luckily, there's an easy workaround for that.
Diffstat (limited to 'lib/VNDB/Util/BrowseHTML.pm')
-rw-r--r--lib/VNDB/Util/BrowseHTML.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/BrowseHTML.pm b/lib/VNDB/Util/BrowseHTML.pm
index e9812f36..cc296cc7 100644
--- a/lib/VNDB/Util/BrowseHTML.pm
+++ b/lib/VNDB/Util/BrowseHTML.pm
@@ -184,7 +184,7 @@ sub htmlBrowseVN {
end;
td class => 'tc3';
cssicon "lang $_", mt "_lang_$_"
- for (reverse sort split /\//, $l->{c_languages});
+ for (reverse sort @{$l->{c_languages}});
end;
td class => 'tc4';
lit $self->{l10n}->datestr($l->{c_released});