summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/agent.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/agent.pm b/FS/FS/agent.pm
index 810709357..e1d9ccf1d 100644
--- a/FS/FS/agent.pm
+++ b/FS/FS/agent.pm
@@ -294,7 +294,7 @@ sub payment_gateway {
}
}
- my $cardtype_search = "AND cardtype != 'ACH'";
+ my $cardtype_search = "AND ( cardtype IS NULL OR cardtype <> 'ACH')";
$cardtype_search = "AND cardtype = 'ACH'" if $options{method} eq 'ECHECK';
my $override =