UCI API changes
[project/luci.git] / modules / admin-mini / luasrc / controller / mini / system.lua
index be6cdb6..c3910a3 100644 (file)
@@ -113,7 +113,7 @@ end
 
 function _keep_pattern()
        local kpattern = ""
-       local files = luci.model.uci.get_all("luci", "flash_keep")
+       local files = luci.model.uci.cursor():get_all("luci", "flash_keep")
        if files then
                kpattern = ""
                for k,v in pairs(files) do