v1.18.x
Barış Soner Uşaklı 6 years ago
parent 59b988a205
commit 17ce482c9f

@ -66,7 +66,7 @@ module.exports = function (Topics) {
Topics.getUnreadTids = function (params, callback) {
var uid = parseInt(params.uid, 10);
if (uid === 0) {
if (uid <= 0) {
return callback(null, []);
}

Loading…
Cancel
Save