summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/uci.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/uci.lua')
-rw-r--r--modules/admin-full/luasrc/controller/admin/uci.lua3
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 f5a45707c..652597e45 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 = {}