Skip to content

Commit

Permalink
fix data is ni
Browse files Browse the repository at this point in the history
  • Loading branch information
loveshell committed Jun 23, 2015
1 parent 14a78d0 commit c0b121a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ elseif PostCheck then
return
end
for key, val in pairs(args) do
if type(val) == "table" or val == false then
if type(val) == "table" then
data=table.concat(val, ", ")
else
data=val
end
if data and type(data) ~= "boolean" and body(data) then
return true
return true
end
end
end
Expand Down

0 comments on commit c0b121a

Please sign in to comment.