summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/CommonHTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-02-15 13:24:14 +0100
committerYorhel <git@yorhel.nl>2009-02-15 13:24:14 +0100
commit845a214bff824123301fa0bd882b91888903bf46 (patch)
tree3861a9cd6e449164709155c02549965f6633505e /lib/VNDB/Util/CommonHTML.pm
parent45bd5743e387e5926cdeb6f0b0ba1d7395084dfe (diff)
Tag deletion
Diffstat (limited to 'lib/VNDB/Util/CommonHTML.pm')
-rw-r--r--lib/VNDB/Util/CommonHTML.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm
index 5f087cab..5477fae3 100644
--- a/lib/VNDB/Util/CommonHTML.pm
+++ b/lib/VNDB/Util/CommonHTML.pm
@@ -70,7 +70,7 @@ sub htmlMainTabs {
end;
}
- if($type eq 'u' && $self->authCan('usermod')) {
+ if($type eq 'u' && $self->authCan('usermod') || $type eq 'g' && $self->authCan('tagmod')) {
li $sel eq 'del' ? (class => 'tabselected') : ();
a href => "/$id/del", 'del';
end;