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 f5a45707c577e8fa1e7160f452e9df2cb0b9f977..652597e458977e2dc43bb1891298a5209a4bbf6b 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 = {}