X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fprocess%2Fpayment.cgi;h=852becb9d5e5ba4178c318bbbd413c4b95f21295;hp=7768f921f175b200e87b3eaac18d04647c6e6fcb;hb=fe58901b811f0ab26e8f93a9563fb93bc98e4c19;hpb=26484e261d7a6bd833d041b417b60e63db19edf7 diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi index 7768f921f..852becb9d 100644 --- a/httemplate/misc/process/payment.cgi +++ b/httemplate/misc/process/payment.cgi @@ -170,7 +170,7 @@ if ( (my $custpaybynum = scalar($cgi->param('custpaybynum'))) > 0 ) { my %saveopt; if ( $payby eq 'CARD' ) { my $bill_location = FS::cust_location->new; - $bill_location->set( $_ => $cgi->param($_) ) + $bill_location->set( $_ => scalar($cgi->param($_)) ) foreach @{$payby2fields{$payby}}; $saveopt{'bill_location'} = $bill_location; $saveopt{'paycvv'} = $paycvv; # save_cust_payby contains conf logic for when to use this