Tag creation for approved users
This commit is contained in:
@@ -153,7 +153,15 @@ function Request:parseMultipartFormData(data)
|
||||
}
|
||||
end
|
||||
else
|
||||
output[name] = itemdata
|
||||
if name:sub(#name - 1) == "[]" then
|
||||
if output[name] then
|
||||
table.insert(output[name], itemdata)
|
||||
else
|
||||
output[name] = {itemdata}
|
||||
end
|
||||
else
|
||||
output[name] = itemdata
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user