closes #666, the issue of the beast

v1.18.x
Baris Soner Usakli 11 years ago
parent bc8adff70a
commit a717e9626e

@ -593,7 +593,9 @@ websockets.init = function(io) {
socket.on('api:categories.get', function(callback) {
categories.getAllCategories(0, function(err, categories) {
callback(categories);
if(callback) {
callback(categories);
}
});
});

Loading…
Cancel
Save