Skip to content

Commit 646b22b

Browse files
authored
Merge pull request #450 from nofrixion/bugfix/MOOV-3920-remittanceemail-whitespace
MOOV-3920: Allow null or whitespace email address list for payruns
2 parents 6be2a98 + 46c8704 commit 646b22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NoFrixion.MoneyMoov/Attributes/EmailAddressMultipleAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public override bool IsValid(object? value)
3838

3939
if (string.IsNullOrWhiteSpace(emailAddresses))
4040
{
41-
return false;
41+
return true;
4242
}
4343

4444
var emails = emailAddresses.Split(new[] { ';', ' ', ',' }, StringSplitOptions.RemoveEmptyEntries);

0 commit comments

Comments
 (0)