Avoid XML errors
[project/luci.git] / modules / admin-mini / luasrc / controller / mini / system.lua
index 265443b..8b711d5 100644 (file)
@@ -110,6 +110,7 @@ function action_upgrade()
                end
        end
 
+       luci.http.prepare_content("text/html")
        luci.template.render("mini/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
 end
 
@@ -123,4 +124,4 @@ function _keep_pattern()
                end
        end
        return kpattern
-end
\ No newline at end of file
+end