summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-05 10:20:07 +0000
committerSteven Barth <steven@midlink.org>2008-09-05 10:20:07 +0000
commitc882d1f501ec61245d86f46f8d740a35e5faaa81 (patch)
treec5c9ac4543842591790b582c682d44156a310d72 /modules/admin-mini/luasrc
parentcac36db0805f0238f374db15408c6820ab08eb60 (diff)
Fixed Reboot pages
Diffstat (limited to 'modules/admin-mini/luasrc')
-rw-r--r--modules/admin-mini/luasrc/view/mini/reboot.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-mini/luasrc/view/mini/reboot.htm b/modules/admin-mini/luasrc/view/mini/reboot.htm
index 6ef8603f06..9bf2d43cf5 100644
--- a/modules/admin-mini/luasrc/view/mini/reboot.htm
+++ b/modules/admin-mini/luasrc/view/mini/reboot.htm
@@ -17,7 +17,7 @@ $Id$
<h2><%:reboot%></h2>
<p><%:a_s_reboot1%></p>
<%-
-local c = require("luci.model.uci").changes()
+local c = require("luci.model.uci").cursor():changes()
if c and next(c) then
-%>
<p class="warning"><%:a_s_reboot_u%></p>