mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +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) {
|
topics.getTopicsByTids(tids, 0, 0, function (err, topics) {
|
||||||
|
if (err){
|
||||||
|
return callback(err, null);
|
||||||
|
}
|
||||||
callback(null, topics);
|
callback(null, topics);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user