From 5af5a63aac322198361ebb0c1e2dd68ae8ed47c8 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Fri, 11 May 2018 20:43:48 -0400 Subject: [PATCH] RT# 79737 - fixed error in code --- httemplate/misc/payment.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index b9537361c..a6c6bac37 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -24,7 +24,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 -- 2.11.0