Merge pull request #111 from zhing/v5-development

V5 development
pull/113/head
Dean Karn 10 years ago
commit 314b33a481
  1. 2
      baked_in.go

@ -681,7 +681,7 @@ func hasLengthOf(top interface{}, current interface{}, field interface{}, param
case reflect.String:
p := asInt(param)
return int64(len(st.String())) == p
return int64(len([]rune(st.String()))) == p
case reflect.Slice, reflect.Map, reflect.Array:
p := asInt(param)

Loading…
Cancel
Save