diff options
Diffstat (limited to 'modules/admin-full/luasrc/controller')
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/uci.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/uci.lua b/modules/admin-full/luasrc/controller/admin/uci.lua index f5a45707c5..652597e458 100644 --- a/modules/admin-full/luasrc/controller/admin/uci.lua +++ b/modules/admin-full/luasrc/controller/admin/uci.lua @@ -54,9 +54,10 @@ end function action_apply() local path = luci.dispatcher.context.path - local changes = luci.model.uci.changes() + local output = "" local uci = luci.model.uci.cursor() + local changes = uci:changes() if changes then local com = {} |