fixed for broken category view, after topic move

v1.18.x
Baris Usakli 12 years ago
parent d9fa78a866
commit 22d954d01f

@ -83,6 +83,7 @@ var RDB = require('./redis.js'),
categoryData.moderator_block_class = results[1].length > 0 ? '' : 'none';
categoryData.moderators = results[1];
categoryData.active_users = results[2];
console.log(results[2]);
callback(categoryData);
});
}

@ -141,7 +141,7 @@ var utils = require('./../public/src/utils.js'),
User.getMultipleUserFields = function(uids, fields, callback) {
if(uids.length === 0) {
callback({});
callback([]);
return;
}

Loading…
Cancel
Save