Node.js based forum software built for the modern web
don't flatten arrays, stringify them, in installer
Julian Lamda328662c54d
diff --git a/install/web.js b/install/web.jsindex d25440b316..70163c45b0 100644--- a/install/web.js+++ b/install/web.js@@ -122,9 +122,11 @@ function install(req, res) {setupEnvVars[parentKey + '__' + key] = setupEnvVars[parentKey][key];};for (var j in setupEnvVars) {- if (setupEnvVars.hasOwnProperty(j) && typeof setupEnvVars[j] === 'object' && setupEnvVars[j] !== null) {+ if (setupEnvVars.hasOwnProperty(j) && typeof setupEnvVars[j] === 'object' && setupEnvVars[j] !== null && !Array.isArray(setupEnvVars[j])) {Object.keys(setupEnvVars[j]).forEach(pushToRoot.bind(null, j));delete setupEnvVars[j];+ } else if (Array.isArray(setupEnvVars[j])) {+ setupEnvVars[j] = JSON.stringify(setupEnvVars[j]);}}