fix NPE selecting Western Union in legacy app

This commit is contained in:
woodser 2022-06-03 16:20:23 -04:00
parent 8a0612a245
commit 341ae2bef0

View file

@ -180,7 +180,7 @@ public class WesternUnionForm extends PaymentMethodForm {
@Override
protected void autoFillNameTextField() {
setAccountNameWithString(westernUnionAccountPayload.getHolderName());
setAccountNameWithString(westernUnionAccountPayload.getHolderName() == null ? "" : westernUnionAccountPayload.getHolderName());
}
@Override