Fix missing UCI transition
authorSteven Barth <steven@midlink.org>
Wed, 27 Aug 2008 13:52:25 +0000 (13:52 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 27 Aug 2008 13:52:25 +0000 (13:52 +0000)
modules/admin-full/luasrc/controller/admin/uci.lua

index f5a4570..652597e 100644 (file)
@@ -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 = {}