fix mark topic notifications read on enter

v1.18.x
barisusakli 10 years ago
parent 2bfc33edb7
commit 793a0a6772

@ -223,7 +223,7 @@ var async = require('async'),
value = value ? value.toString() : ''; value = value ? value.toString() : '';
nids = notifications.filter(function(notification) { nids = notifications.filter(function(notification) {
return notification && notification[field] === value; return notification && notification[field] && notification[field].toString() === value;
}).map(function(notification) { }).map(function(notification) {
return notification.nid; return notification.nid;
}); });

Loading…
Cancel
Save