diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_system/reboot.htm | 2 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/reboot.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/view/admin_system/reboot.htm b/modules/admin-full/luasrc/view/admin_system/reboot.htm index 600da36fc..b7b10b50f 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$ <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> diff --git a/modules/admin-mini/luasrc/view/mini/reboot.htm b/modules/admin-mini/luasrc/view/mini/reboot.htm index 6ef8603f0..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$ <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> |