From 3e9862885750180d31ec85135a8c4e3d6571875a Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Fri, 11 May 2018 20:43:48 -0400 Subject: RT# 79737 - fixed error in code --- httemplate/misc/payment.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate') diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 36ae77bdf..44904fba6 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -22,7 +22,7 @@ ? scalar($conf->config('credit-card-surcharge-percentage', $cust_main->agentnum)) : 0 ), - 'surcharge_flatfee:Q' => + 'surcharge_flatfee' => ( $payby eq 'CARD' ? scalar($conf->config('credit-card-surcharge-flatfee', $cust_main->agentnum)) : 0 -- cgit v1.2.1