summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-08-25 18:51:32 +0200
committerYorhel <git@yorhel.nl>2020-08-25 18:51:45 +0200
commit08ba218b728e9db232dfeec8ba2089425820a684 (patch)
tree0b7c3c838f4e58a5c6a1f12b1d3dc17655dbbe25
parentb92c5d69b61a333b934e2c6925df119035365a5e (diff)
HTML: Fix maintabs for DB entries with id >= 10
Broken in 551c31675cf13bbb68b0fcff04ae8ec90c1c00ed
-rw-r--r--lib/VNWeb/HTML.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/HTML.pm b/lib/VNWeb/HTML.pm
index e2d68033..e9f4ec72 100644
--- a/lib/VNWeb/HTML.pm
+++ b/lib/VNWeb/HTML.pm
@@ -342,7 +342,7 @@ sub _maintabs_ {
return if !$t || !$o;
return if $t eq 'g' && !auth->permTagmod;
- my $id = $o->{id} =~ /^[0-9]$/ ? $t.$o->{id} : $o->{id};
+ my $id = $o->{id} =~ /^[0-9]*$/ ? $t.$o->{id} : $o->{id};
my sub t {
my($tabname, $url, $text) = @_;