Skip to content
Snippets Groups Projects
Commit 0098b2bf authored by xg.gao's avatar xg.gao
Browse files

fix

parent b25b628c
No related branches found
No related tags found
No related merge requests found
......@@ -609,7 +609,7 @@ func (c *URL) CloneWithParams(reserveParams []string) *URL {
params := url.Values{}
for _, reserveParam := range reserveParams {
v := c.GetParam(reserveParam, "")
if v != "" {
if len(v) != 0 {
params.Set(reserveParam, v)
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment