From 8c9a5a4bdfa111b149ea58f36db7720f62a2d379 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sat, 12 Oct 2019 21:08:34 +0200 Subject: rewards: Fix applying the public skin even when disabled --- lib/VNWeb/Misc/History.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/VNWeb/Misc') 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' : -- cgit v1.2.3