summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-07-05 15:25:03 +0200
committerYorhel <git@yorhel.nl>2009-07-05 15:25:03 +0200
commit58e7d6f87e7533e03606b06c1be80c59bcba92bc (patch)
tree1ae362256c9f29b02ba1b5907418dd7a689a8277
parentfaf30ebba38e0fc3dc90fcbe6fbcfb36b79bcc4d (diff)
Updated VN screenshot uploader to handle multilanguage releases
-rw-r--r--lib/VNDB/Handler/VNEdit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNEdit.pm b/lib/VNDB/Handler/VNEdit.pm
index 3b0619ab..f0f12e88 100644
--- a/lib/VNDB/Handler/VNEdit.pm
+++ b/lib/VNDB/Handler/VNEdit.pm
@@ -252,7 +252,7 @@ sub _form {
tbody id => 'scr_table', '';
end;
Select id => 'scr_rel', class => $self->{url_static};
- option value => $_->{id}, sprintf '[%s] %s (r%d)', $_->{language}, $_->{title}, $_->{id} for (@$r);
+ option value => $_->{id}, sprintf '[%s] %s (r%d)', join(',', @{$_->{languages}}), $_->{title}, $_->{id} for (@$r);
end;
}],
])