From 1e2d9409a5d6799a8a60929e2ee6a2906cb7705c Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 27 Aug 2008 13:52:25 +0000 Subject: Fix missing UCI transition --- modules/admin-full/luasrc/controller/admin/uci.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/admin-full/luasrc/controller') 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 = {} -- cgit v1.2.3