X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Fadmin-mini%2Fluasrc%2Fview%2Fmini%2Freboot.htm;h=9bf2d43cf5e7243b3c3802403c9192a08e31e11c;hb=fade8edd2dfe39ae579256d04220aba9da2ff074;hp=b0f64698d5a4e9a1b56016a469ba23e9535655dd;hpb=0a0712b9d953838c58b91bd0941770105f18ad64;p=project%2Fluci.git diff --git a/modules/admin-mini/luasrc/view/mini/reboot.htm b/modules/admin-mini/luasrc/view/mini/reboot.htm index b0f64698d..9bf2d43cf 100644 --- a/modules/admin-mini/luasrc/view/mini/reboot.htm +++ b/modules/admin-mini/luasrc/view/mini/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%>

@@ -28,6 +28,6 @@ if not reboot then

<%:a_s_reboot_do%>

<%- else -%>

<%:a_s_reboot_running%>

- + <%- end -%> <%+footer%> \ No newline at end of file