summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-12 16:12:51 +0000
committerSteven Barth <steven@midlink.org>2008-09-12 16:12:51 +0000
commit871f07ad2e02040e10f85c7c77dca465932582ab (patch)
treeee100f70206b52f4336c724c3b898d444f6177a9 /modules
parent2bbc4eb3c33c3590433174c599ec9418bdb8f38a (diff)
Avoid XML errors
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua1
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua
index 5d64336e0..c89c5859b 100644
--- a/modules/admin-full/luasrc/controller/admin/system.lua
+++ b/modules/admin-full/luasrc/controller/admin/system.lua
@@ -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
diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua
index 6d16ef865..8b711d511 100644
--- a/modules/admin-mini/luasrc/controller/mini/system.lua
+++ b/modules/admin-mini/luasrc/controller/mini/system.lua
@@ -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