Node.js based forum software built for the modern web
allowing widgets to not show up if widget explicitly returns null
Julian Lama9a522c8eccf
diff --git a/src/widgets/index.js b/src/widgets/index.jsindex 5debdf3b26..fdac7e19d9 100644--- a/src/widgets/index.js+++ b/src/widgets/index.js@@ -44,7 +44,7 @@ widgets.render = function(uid, area, req, res, callback) {req: req,res: res}, function(err, html) {- if (err) {+ if (err || html === null) {return next(err);}