Avoid XML errors
[project/luci.git] / modules / admin-full / luasrc / controller / admin / system.lua
index 5d64336..c89c585 100644 (file)
@@ -213,6 +213,7 @@ function action_upgrade()
                end
        end
 
+       luci.http.prepare_content("text/html")
        luci.template.render("admin_system/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
 end