NIU: More pages
[project/luci.git] / libs / uci / luasrc / model / uci.lua
index c927b4c..66bd0a0 100644 (file)
@@ -58,7 +58,10 @@ function cursor_state()
 end
 
 
-local Cursor = getmetatable(cursor())
+inst = cursor()
+inst_state = cursor_state()
+
+local Cursor = getmetatable(inst)
 
 --- Applies UCI configuration changes
 -- @param configlist           List of UCI configurations