summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/cust_main.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/process/cust_main.cgi')
-rwxr-xr-xhttemplate/edit/process/cust_main.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi
index df6cec9df..f75e2a6ae 100755
--- a/httemplate/edit/process/cust_main.cgi
+++ b/httemplate/edit/process/cust_main.cgi
@@ -44,7 +44,7 @@ if ( $payby ) {
if ( $payby eq 'CHEK' || $payby eq 'DCHK' ) {
my $payinfo = $cgi->param('payinfo1'). '@';
$payinfo .= $cgi->param('payinfo3').'.'
- if $conf->exists('cust_main-require-bank-branch');
+ if $conf->config('echeck-country') eq 'CA';
$payinfo .= $cgi->param('payinfo2');
$cgi->param('payinfo',$payinfo);
}