mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
error check
This commit is contained in:
@@ -295,6 +295,9 @@ var path = require('path'),
|
||||
}
|
||||
|
||||
topics.getTopicsByTids(tids, 0, 0, function (err, topics) {
|
||||
if (err){
|
||||
return callback(err, null);
|
||||
}
|
||||
callback(null, topics);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user