Skip to content

Commit 5899d2a

Browse files
authored
Merge pull request aspnetboilerplate#1156 from 4nonym0us/patch-3
Fix aspnetboilerplate#1134
2 parents 3a8cb32 + ff17af1 commit 5899d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Abp/Runtime/Validation/Interception/MethodInvocationValidator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ protected virtual void SetDataAnnotationAttributeErrors(object validatingObject)
177177

178178
var validationContext = new ValidationContext(validatingObject)
179179
{
180-
DisplayName = property.Name,
180+
DisplayName = property.DisplayName,
181181
MemberName = property.Name
182182
};
183183

0 commit comments

Comments
 (0)