Skip to content

Node.js based forum software built for the modern web

fix for switching back to a theme without a custom template dir

psychobunnyca9cd3606776
diff --git a/src/meta.js b/src/meta.js
index c2a1ee5cfa..6ee119e8c0 100644
--- a/src/meta.js
+++ b/src/meta.js
@@ -120,8 +120,8 @@ var utils = require('./../public/src/utils.js'),
});
},
function(config, next) {
- themeData['theme:staticDir'] = config.staticDir ? config.staticDir : false;
- themeData['theme:templates'] = config.templates ? config.templates : false;
+ themeData['theme:staticDir'] = config.staticDir ? config.staticDir : '';
+ themeData['theme:templates'] = config.templates ? config.templates : '';
RDB.hmset('config', themeData, next);
}