This commit is contained in:
Jinzhu 2016-06-16 18:17:56 +08:00
parent 61f50a429a
commit 6ef2a539bd
1 changed files with 0 additions and 1 deletions

View File

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