forked from mirror/gorm
Fix test
This commit is contained in:
parent
61f50a429a
commit
6ef2a539bd
|
@ -141,7 +141,6 @@ func (scope *Scope) handleHasOnePreload(field *Field, conditions []interface{})
|
|||
for i := 0; i < resultsValue.Len(); i++ {
|
||||
result := resultsValue.Index(i)
|
||||
scope.Err(field.Set(result))
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue