summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Discussions.pm
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/VNDB/Handler/Discussions.pm
parentb3a9130763879d60c0e413c724a759860bd396af (diff)
rewards: Honor public custom css/skin
Diffstat (limited to 'lib/VNDB/Handler/Discussions.pm')
-rw-r--r--lib/VNDB/Handler/Discussions.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Discussions.pm b/lib/VNDB/Handler/Discussions.pm
index c17ca3b7..f88bce17 100644
--- a/lib/VNDB/Handler/Discussions.pm
+++ b/lib/VNDB/Handler/Discussions.pm
@@ -391,7 +391,7 @@ sub board {
return $self->resNotFound if $f->{_err};
my $obj = !$iid ? undef :
- $type eq 'u' ? $self->dbUserGet(uid => $iid, what => 'hide_list')->[0] :
+ $type eq 'u' ? $self->dbUserGet(uid => $iid, what => 'hide_list pubskin')->[0] :
$type eq 'p' ? $self->dbProducerGet(id => $iid)->[0] :
$self->dbVNGet(id => $iid)->[0];
return $self->resNotFound if $iid && !$obj;
@@ -408,7 +408,7 @@ sub board {
asuser => $self->authInfo()->{id},
);
- $self->htmlHeader(title => $title, noindex => 1, feeds => [ $type eq 'an' ? 'announcements' : 'posts' ]);
+ $self->htmlHeader(title => $title, noindex => 1, feeds => [ $type eq 'an' ? 'announcements' : 'posts' ], $type eq 'u' && $obj ? (pubskin => $obj) : ());
$self->htmlMainTabs($type, $obj, 'disc') if $iid;
form action => '/t/search', method => 'get';