Fixed Reboot pages
[project/luci.git] / modules / admin-mini / luasrc / view / mini / reboot.htm
index 6ef8603..9bf2d43 100644 (file)
@@ -17,7 +17,7 @@ $Id$
 <h2><%:reboot%></h2>
 <p><%:a_s_reboot1%></p>
 <%-
 <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> 
 if c and next(c) then
 -%>
        <p class="warning"><%:a_s_reboot_u%></p>