From 7d984c47ad24faac1fe537dee4a5a7d697e8634c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Zanghelini?= Date: Sun, 2 Jul 2017 15:45:31 -0300 Subject: [PATCH] Support old themes --- src/controllers/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/helpers.js b/src/controllers/helpers.js index cbc9f35110..b936bf3f8d 100644 --- a/src/controllers/helpers.js +++ b/src/controllers/helpers.js @@ -15,7 +15,7 @@ var middleware = require('../middleware'); var helpers = module.exports; helpers.noScriptErrors = function (req, res, error, httpStatus) { - if (req.body.noscript === 'false') { + if (req.body.noscript !== 'true') { return res.status(httpStatus).send(error); }