Skip to content

Commit

Permalink
fix args false
Browse files Browse the repository at this point in the history
  • Loading branch information
loveshell committed Sep 24, 2014
1 parent 686219a commit 3b12567
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ function args()
local args = ngx.req.get_uri_args()
for key, val in pairs(args) do
if type(val)=='table' then
data=table.concat(val, " ")
if val == false then
data=table.concat(val, " ")
end
else
data=val
end
Expand Down

0 comments on commit 3b12567

Please sign in to comment.