Fix missing UCI transition
This commit is contained in:
parent
ccb1ea29ac
commit
1e2d9409a5
1 changed files with 2 additions and 1 deletions
|
@ -54,9 +54,10 @@ end
|
||||||
|
|
||||||
function action_apply()
|
function action_apply()
|
||||||
local path = luci.dispatcher.context.path
|
local path = luci.dispatcher.context.path
|
||||||
local changes = luci.model.uci.changes()
|
|
||||||
local output = ""
|
local output = ""
|
||||||
local uci = luci.model.uci.cursor()
|
local uci = luci.model.uci.cursor()
|
||||||
|
local changes = uci:changes()
|
||||||
|
|
||||||
if changes then
|
if changes then
|
||||||
local com = {}
|
local com = {}
|
||||||
|
|
Loading…
Reference in a new issue