summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-06-10 14:35:53 +0200
committerYorhel <git@yorhel.nl>2009-06-10 14:35:53 +0200
commit21cd353121b8695f16388045ff80bcecf0910813 (patch)
treecf21cc69a1b8d24432744bf447926c456e696867
parent48627c2610b2851726d52a28db435363f0dd3eef (diff)
Corrected age rating display on release revision page
-rw-r--r--lib/VNDB/Handler/Releases.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Releases.pm b/lib/VNDB/Handler/Releases.pm
index d031340d..6850d20c 100644
--- a/lib/VNDB/Handler/Releases.pm
+++ b/lib/VNDB/Handler/Releases.pm
@@ -50,7 +50,7 @@ sub page {
[ language => 'Language', serialize => sub { $self->{languages}{$_[0]} } ],
[ website => 'Website', ],
[ released => 'Release date', htmlize => sub { datestr $_[0] } ],
- [ minage => 'Age rating', serialize => sub { $self->{age_ratings}{$_[0]} } ],
+ [ minage => 'Age rating', serialize => sub { $self->{age_ratings}{$_[0]}[0] } ],
[ notes => 'Notes', diff => 1 ],
[ platforms => 'Platforms', join => ', ', split => sub { map $self->{platforms}{$_}, @{$_[0]} } ],
[ media => 'Media', join => ', ', split => sub {