Merge e18e2a9e23365ee088745782ead485ac94f945b1 into 820090381719dc209584c3fc1044cd95ec520594

This commit is contained in:
bestgopher 2021-08-22 00:45:25 +05:30 committed by GitHub
commit 1db9ec3d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -449,7 +449,7 @@ func (c *Context) GetQueryArray(key string) ([]string, bool) {
if values, ok := c.queryCache[key]; ok && len(values) > 0 { if values, ok := c.queryCache[key]; ok && len(values) > 0 {
return values, true return values, true
} }
return []string{}, false return nil, false
} }
// QueryMap returns a map for a given query key. // QueryMap returns a map for a given query key.