diff options
Diffstat (limited to 'applications/luci-statistics/root/usr/bin/stat-genconfig')
-rwxr-xr-x | applications/luci-statistics/root/usr/bin/stat-genconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig index 3159f6f7fa..071cff2ca5 100755 --- a/applications/luci-statistics/root/usr/bin/stat-genconfig +++ b/applications/luci-statistics/root/usr/bin/stat-genconfig @@ -21,8 +21,8 @@ require("luci.sys.iptparser") require("luci.util") local ipt = luci.sys.iptparser.IptParser() -local uci = luci.model.uci -local sections = uci.get_all( "luci_statistics" ) +local uci = luci.model.uci.cursor() +local sections = uci:get_all( "luci_statistics" ) function section( plugin ) |