Fix missing UCI transition

This commit is contained in:
Steven Barth 2008-08-27 13:52:25 +00:00
parent ccb1ea29ac
commit 1e2d9409a5

View file

@ -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 = {}