From c882d1f501ec61245d86f46f8d740a35e5faaa81 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 5 Sep 2008 10:20:07 +0000 Subject: Fixed Reboot pages --- modules/admin-full/luasrc/view/admin_system/reboot.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/admin-full/luasrc/view/admin_system/reboot.htm') diff --git a/modules/admin-full/luasrc/view/admin_system/reboot.htm b/modules/admin-full/luasrc/view/admin_system/reboot.htm index 600da36fcb..b7b10b50fb 100644 --- a/modules/admin-full/luasrc/view/admin_system/reboot.htm +++ b/modules/admin-full/luasrc/view/admin_system/reboot.htm @@ -17,7 +17,7 @@ $Id$

<%:reboot%>

<%:a_s_reboot1%>

<%- -local c = require("luci.model.uci").changes() +local c = require("luci.model.uci").cursor():changes() if c and next(c) then -%>

<%:a_s_reboot_u%>

-- cgit v1.2.3