Tag creation for approved users

This commit is contained in:
mid
2024-07-18 22:53:44 +03:00
parent bccc0ef742
commit 61fd417013
8 changed files with 213 additions and 34 deletions

View File

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