Skip to content

Node.js based forum software built for the modern web

added nid

barisusaklicfd7edbf343d
diff --git a/src/user/notifications.js b/src/user/notifications.js
index 3b96ab93d4..6315438aed 100644
--- a/src/user/notifications.js
+++ b/src/user/notifications.js
@@ -233,7 +233,7 @@ var async = require('async'),
return 'notifications:' + nid;
});
- db.getObjectsFields(keys, [field], function(err, notifications) {
+ db.getObjectsFields(keys, ['nid', field], function(err, notifications) {
if (err) {
return callback(err);
}