Skip to content

Node.js based forum software built for the modern web

fixed allQuestions property

psychobunny4877e4a9d1c0
diff --git a/src/install.js b/src/install.js
index c826e1f025..e3ac61f31d 100644
--- a/src/install.js
+++ b/src/install.js
@@ -172,7 +172,7 @@ var async = require('async'),
return next(new Error('unknown database : ' + config.database));
}
- var allQuestions = install.redisQuestions.concat(install.mongoQuestions);
+ var allQuestions = install.redisQuestions.concat(install.mongoQuestions.concat(install.levelQuestions));
for(var x=0;x<allQuestions.length;x++) {
delete config[allQuestions[x].name];
}