summaryrefslogtreecommitdiff
path: root/lib/VNWeb/User
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-10 16:37:49 +0200
committerYorhel <git@yorhel.nl>2019-10-10 16:54:36 +0200
commite0f0fec01dd6cb8b0cc2b2dc85ad05a6cd990488 (patch)
tree5c4e27d70668a0c162365c27c02f834e42be3f3e /lib/VNWeb/User
parentb3a9130763879d60c0e413c724a759860bd396af (diff)
rewards: Honor public custom css/skin
Diffstat (limited to 'lib/VNWeb/User')
-rw-r--r--lib/VNWeb/User/Page.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNWeb/User/Page.pm b/lib/VNWeb/User/Page.pm
index 2ad6d796..b276f8fa 100644
--- a/lib/VNWeb/User/Page.pm
+++ b/lib/VNWeb/User/Page.pm
@@ -125,7 +125,7 @@ sub _votestats_ {
TUWF::get qr{/$RE{uid}}, sub {
my $u = tuwf->dbRowi(q{
- SELECT id, hide_list, c_changes, c_votes, c_tags
+ SELECT id, hide_list, c_changes, c_votes, c_tags, pubskin_can, skin, customcss
,}, sql_totime('registered'), q{ AS registered
,}, sql_user(), q{
FROM users u
@@ -143,7 +143,7 @@ TUWF::get qr{/$RE{uid}}, sub {
});
my $title = user_displayname($u)."'s profile";
- framework_ title => $title, index => 0, type => 'u', dbobj => $u,
+ framework_ title => $title, index => 0, type => 'u', pubskin => $u, dbobj => $u,
sub {
div_ class => 'mainbox userpage', sub {
h1_ $title;