mod_actions_http: Show tables as 'list's
authorMatthew Wild <mwild1@gmail.com>
Mon, 12 Jan 2009 04:13:05 +0000 (04:13 +0000)
committerMatthew Wild <mwild1@gmail.com>
Mon, 12 Jan 2009 04:13:05 +0000 (04:13 +0000)
plugins/mod_actions_http.lua

index 327bd6708701b8737a85a73faba88031ab4132fc..43370a4183cfa513cef359b43c13ee9e96550f9c 100644 (file)
@@ -53,6 +53,8 @@ local function handle_request(method, body, request)
                        t_insert(s, " = ");
                        if type(v) == "function" then
                                t_insert(s, "action")
+                       elseif type(v) == "table" then
+                               t_insert(s, "list");
                        else
                                t_insert(s, tostring(v));
                        end