summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Misc
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-12 21:08:34 +0200
committerYorhel <git@yorhel.nl>2019-10-12 21:08:34 +0200
commit8c9a5a4bdfa111b149ea58f36db7720f62a2d379 (patch)
tree55de352560b2b20ed8bb92897fd320ce71079bdb /lib/VNWeb/Misc
parent0be1aa6acb62c13b4bcb4bd52a9c76df5f248e45 (diff)
rewards: Fix applying the public skin even when disabled
Diffstat (limited to 'lib/VNWeb/Misc')
-rw-r--r--lib/VNWeb/Misc/History.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Misc/History.pm b/lib/VNWeb/Misc/History.pm
index 2ba4675d..5251d4ea 100644
--- a/lib/VNWeb/Misc/History.pm
+++ b/lib/VNWeb/Misc/History.pm
@@ -187,7 +187,7 @@ TUWF::get qr{/(?:([upvrcsd])([1-9]\d*)/)?hist} => sub {
};
my $obj = !$type ? undef :
- $type eq 'u' ? tuwf->dbRowi('SELECT id, ', sql_user(), ', pubskin_can, customcss, skin FROM users u WHERE id =', \$id) :
+ $type eq 'u' ? tuwf->dbRowi('SELECT id, ', sql_user(), ', pubskin_can, pubskin_enabled, customcss, skin FROM users u WHERE id =', \$id) :
$type eq 'p' ? dbitem producers => 'name' :
$type eq 'v' ? dbitem vn => 'title' :
$type eq 'r' ? dbitem releases => 'title' :