webmcp
changeset 357:ffdd32b48296
Bugfix in request.get_param_strings{...} which caused an empty table to be returned
author | jbe |
---|---|
date | Thu Mar 26 20:09:13 2015 +0100 (2015-03-26) |
parents | 5c5f264d123e |
children | 545ec2e3eafa |
files | framework/env/request/get_param_strings.lua |
line diff
1.1 --- a/framework/env/request/get_param_strings.lua Thu Mar 26 20:07:49 2015 +0100 1.2 +++ b/framework/env/request/get_param_strings.lua Thu Mar 26 20:09:13 2015 +0100 1.3 @@ -10,7 +10,7 @@ 1.4 --]]-- 1.5 1.6 local function merge_params(tbl, params_list, include) 1.7 - for key, values in pairs(tbl) do 1.8 + for key, values in pairs(params_list) do 1.9 if not include and string.match(key, "^_webmcp_") then 1.10 -- do nothing 1.11 elseif string.match(key, "%[%]$") then