fix data is ni

pull/47/merge
loveshell 10 years ago
parent 14a78d0155
commit c0b121a64c

@ -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

Loading…
Cancel
Save