Make check case insensitive

This commit is contained in:
Manfred Karrer 2019-04-14 14:23:52 -05:00
parent 57ae8af3d7
commit 4da5c4ff1a
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -376,7 +376,7 @@ public class FilterManager {
Method method = paymentAccountPayload.getClass().getMethod(paymentAccountFilter.getGetMethodName());
String result = (String) method.invoke(paymentAccountPayload);
appliedPaymentAccountFilter[0] = paymentAccountFilter;
return result.equals(paymentAccountFilter.getValue());
return result.toLowerCase().equals(paymentAccountFilter.getValue().toLowerCase());
} catch (Throwable e) {
log.error(e.getMessage());
return false;