mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-31 03:36:51 +02:00
fix persona defaults
fix missing theme:id
This commit is contained in:
@@ -65,7 +65,7 @@ helpers.buildBodyClass = function (req, res, templateData = {}) {
|
||||
|
||||
parts.push(`page-status-${res.statusCode}`);
|
||||
|
||||
parts.push(`theme-${meta.config['theme:id'].split('-')[2]}`);
|
||||
parts.push(`theme-${(meta.config['theme:id'] || '').split('-')[2]}`);
|
||||
|
||||
if (req.loggedIn) {
|
||||
parts.push('user-loggedin');
|
||||
|
||||
Reference in New Issue
Block a user