summaryrefslogtreecommitdiff
path: root/lib/VNDB/VN.pm
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-06-30 10:02:06 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-06-30 10:02:06 +0000
commit5fd0fb77b025faf71946df483296f24e756e3657 (patch)
treedf77cc322ab8bbb2b4864d5359fee8470b0db6d3 /lib/VNDB/VN.pm
parent0c5cd15570ea2b741b86c6cff8dbc5d9365a4cc6 (diff)
Fixed a few typos, the edit summary is optional again, and added warnings for extreme votes and empty edit summaries
git-svn-id: svn://vndb.org/vndb@47 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'lib/VNDB/VN.pm')
-rw-r--r--lib/VNDB/VN.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/VN.pm b/lib/VNDB/VN.pm
index 7e1b41c6..f0727e6a 100644
--- a/lib/VNDB/VN.pm
+++ b/lib/VNDB/VN.pm
@@ -94,7 +94,7 @@ sub VNEdit {
{ name => 'img_nsfw', required => 0 },
{ name => 'categories', required => 0, default => '' },
{ name => 'relations', required => 0, default => '' },
- { name => 'comm', required => 1, minlength => 10, maxlength => 1000 },
+ { name => 'comm', required => 0, default => '' },
);
$frm->{img_nsfw} = $frm->{img_nsfw} ? 1 : 0;
$frm->{anime} = join(' ', sort { $a <=> $b } grep /^[0-9]+$/, split(/\s+/, $frm->{anime})); # re-sort