Skip to content

Node.js based forum software built for the modern web

missing return

barisusakli3cdc0c6890ac
diff --git a/src/controllers/accounts/helpers.js b/src/controllers/accounts/helpers.js
index 4646986cd0..9a881ddab5 100644
--- a/src/controllers/accounts/helpers.js
+++ b/src/controllers/accounts/helpers.js
@@ -19,7 +19,7 @@ helpers.getUserDataByUserSlug = function(userslug, callerUID, callback) {
},
function (uid, next) {
if (!uid) {
- callback(null, null);
+ return callback(null, null);
}
async.parallel({