1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 19:50:56 +00:00

Merge pull request #4304 from gswcodeshow/develop

Fix 4298
This commit is contained in:
Ming Deng 2020-11-12 21:41:10 +08:00 committed by GitHub
commit a00b54d8f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,5 +152,8 @@ func (c *Condition) IsEmpty() bool {
// clone clone a condition // clone clone a condition
func (c Condition) clone() *Condition { func (c Condition) clone() *Condition {
params := make([]condValue, len(c.params))
copy(params, c.params)
c.params = params
return &c return &c
} }