diff options
author | Yorhel <git@yorhel.nl> | 2019-10-12 21:08:34 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-12 21:08:34 +0200 |
commit | 8c9a5a4bdfa111b149ea58f36db7720f62a2d379 (patch) | |
tree | 55de352560b2b20ed8bb92897fd320ce71079bdb /lib/VNDB/DB | |
parent | 0be1aa6acb62c13b4bcb4bd52a9c76df5f248e45 (diff) |
rewards: Fix applying the public skin even when disabled
Diffstat (limited to 'lib/VNDB/DB')
-rw-r--r-- | lib/VNDB/DB/Users.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/Users.pm b/lib/VNDB/DB/Users.pm index d253a52b..276ce202 100644 --- a/lib/VNDB/DB/Users.pm +++ b/lib/VNDB/DB/Users.pm @@ -55,7 +55,7 @@ sub dbUserGet { VNWeb::DB::sql_user(), # XXX: This duplicates id and username, but updating all the code isn't going to be easy q|extract('epoch' from registered) as registered|, $o{what} =~ /extended/ ? qw|perm ign_votes| : (), # mail - $o{what} =~ /pubskin/ ? qw|pubskin_can customcss skin| : (), + $o{what} =~ /pubskin/ ? qw|pubskin_can pubskin_enabled customcss skin| : (), $token ? qq|extract('epoch' from user_isloggedin(id, decode('$token', 'hex'))) as session_lastused| : (), ); |