diff --git a/src/categories.js b/src/categories.js index 1dc3afdaf0..b9118aeb34 100644 --- a/src/categories.js +++ b/src/categories.js @@ -11,6 +11,7 @@ var db = require('./database'), CategoryTools = require('./categoryTools'), meta = require('./meta'), emitter = require('./emitter'), + validator = require('validator'), async = require('async'), winston = require('winston'), @@ -247,6 +248,8 @@ var db = require('./database'), for (var i=0; i