diff options
author | Steven Barth <steven@midlink.org> | 2008-06-15 12:34:16 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-15 12:34:16 +0000 |
commit | 961bfcf77f6bf114e721a418220c2d6a3ef1379c (patch) | |
tree | 10d8143b4c106dfcade5ee480ce75c184cdd4b79 /applications/luci-statistics/luasrc/controller | |
parent | 8b0524cd919cec9deba8b8f63033823fa744f1e6 (diff) |
* Generalized HTTP-API
Diffstat (limited to 'applications/luci-statistics/luasrc/controller')
-rw-r--r-- | applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua index 36c6d9b573..aeee636301 100644 --- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua +++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua @@ -80,7 +80,7 @@ function index() page.setuser = "nobody" page.setgroup = "nogroup" - local vars = luci.http.formvalues() + local vars = luci.http.getvalue() local span = vars.timespan or nil for i, plugin in luci.util.vspairs( tree:plugins() ) do @@ -148,7 +148,7 @@ function statistics_render() require("luci.template") require("luci.model.uci") - local vars = luci.http.formvalues() + local vars = luci.http.getvalue() local req = luci.dispatcher.context.request local path = luci.dispatcher.context.dispatched.path local uci = luci.model.uci |