From: Jo-Philipp Wich Date: Tue, 26 May 2015 15:32:11 +0000 (+0200) Subject: luci-base: prevent parsing the form input after cbi emergency save X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=1dada8cc4436a9cfb1a8a8e67085a7aadfec25cd;hp=d6d0926aee1205b9ade0cb5b7462603a98b938af luci-base: prevent parsing the form input after cbi emergency save Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/luasrc/cbi.lua b/modules/luci-base/luasrc/cbi.lua index 7c5944bf2..45c91890a 100644 --- a/modules/luci-base/luasrc/cbi.lua +++ b/modules/luci-base/luasrc/cbi.lua @@ -324,6 +324,7 @@ function Map.__init__(self, config, ...) luci.http.redirect(url) end end + self.save = false end if not ok then