dont ignore error

v1.18.x
barisusakli 10 years ago
parent e0edb71a8a
commit 8007bb0644

@ -36,9 +36,10 @@ module.exports = function(Categories) {
topics[i].index = data.start + i; topics[i].index = data.start + i;
} }
plugins.fireHook('filter:category.topics.get', {topics: topics, uid: data.uid}, function(err, params) { plugins.fireHook('filter:category.topics.get', {topics: topics, uid: data.uid}, next);
next(null, params.topics); },
}); function(results, next) {
next(null, results.topics);
} }
], next); ], next);
} }

Loading…
Cancel
Save