Fixed Reboot pages
This commit is contained in:
parent
cac36db080
commit
c882d1f501
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue