From eae0e447989a1a37ce6cb8df9f1f353738aab4f6 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 15 Jun 2008 17:45:10 +0000 Subject: * Added support for CGI SGI --- .../luasrc/controller/luci_statistics/luci_statistics.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-statistics/luasrc') 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 aeee63630..67ea8a6f0 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.getvalue() + local vars = luci.http.formvalue() 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.getvalue() + local vars = luci.http.formvalue() local req = luci.dispatcher.context.request local path = luci.dispatcher.context.dispatched.path local uci = luci.model.uci -- cgit v1.2.3