summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-27 13:52:25 +0000
committerSteven Barth <steven@midlink.org>2008-08-27 13:52:25 +0000
commit1e2d9409a5d6799a8a60929e2ee6a2906cb7705c (patch)
tree9ed18e82ecd6498a032dbc3376fa1ba12e820a54
parentccb1ea29ac5fc0976a15672fdc73af9186c5e1bb (diff)
Fix missing UCI transition
-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 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 = {}