diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/VNDB/Handler/Tags.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ git - ? - Multi's announcements are colored in blue - Abstracted parsing skin config files into a SkinFile module - Automatically generate the skin credits on d7, by reading the skin files + - Only tagmods can create top-level tags 2.10 - 2010-01-10 - VN score on tag pages use plain averages instead of bayesian rating diff --git a/lib/VNDB/Handler/Tags.pm b/lib/VNDB/Handler/Tags.pm index 612b603d..aa46f5b9 100644 --- a/lib/VNDB/Handler/Tags.pm +++ b/lib/VNDB/Handler/Tags.pm @@ -191,7 +191,7 @@ sub tagedit { { name => 'meta', required => 0, default => 0 }, { name => 'alias', required => 0, maxlength => 1024, default => '', regex => [ qr/^[^,]+$/s, 'No comma allowed in aliases' ] }, { name => 'description', required => 0, maxlength => 1024, default => '' }, - { name => 'parents', required => 0, default => '' }, + { name => 'parents', required => !$self->authCan('tagmod'), default => '' }, { name => 'merge', required => 0, default => '' }, ); my @aliases = split /[\t\s]*\n[\t\s]*/, $frm->{alias}; |