summaryrefslogtreecommitdiff
path: root/lib/VNDB/VN.pm
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-06-29 19:54:52 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-06-29 19:54:52 +0000
commitef5c79a7b20f847ce45adf714b063b739c0b1846 (patch)
tree3d8cd7ec15513fa31e915f30ab1954690a96a053 /lib/VNDB/VN.pm
parentd387136a61bf93fdc495f2bead2874be3b7733cf (diff)
Made the edit summary a required field
git-svn-id: svn://vndb.org/vndb@44 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 f0727e6a..7e1b41c6 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 => 0, default => '' },
+ { name => 'comm', required => 1, minlength => 10, maxlength => 1000 },
);
$frm->{img_nsfw} = $frm->{img_nsfw} ? 1 : 0;
$frm->{anime} = join(' ', sort { $a <=> $b } grep /^[0-9]+$/, split(/\s+/, $frm->{anime})); # re-sort