Skip to content

Node.js based forum software built for the modern web

closes #6199

Barış Soner Uşaklı9628956a561c
diff --git a/src/widgets/index.js b/src/widgets/index.js
index 968a5e7a9e..1d60664247 100644
--- a/src/widgets/index.js
+++ b/src/widgets/index.js
@@ -31,7 +31,7 @@ widgets.render = function (uid, options, callback) {
var returnData = {};
async.each(locations, function (location, done) {
- widgetsByLocation[location] = (data.global[location] || []).concat(data[options.template][location] || []);
+ widgetsByLocation[location] = (data[options.template][location] || []).concat(data.global[location] || []);
if (!widgetsByLocation[location].length) {
return done(null, { location: location, widgets: [] });