diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:49:44 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:49:44 -0700 |
commit | a6a4b17cbf6359fecde5135727a59b1f7b54cd9f (patch) | |
tree | 978da1610c9e6b80bf2c6f2bc41257bbcd3d6779 /httemplate/misc/process/payment.cgi | |
parent | 840dbc8beed6098e3b7ae17dc2553a39f5476553 (diff) |
scalar cgi param
Diffstat (limited to 'httemplate/misc/process/payment.cgi')
-rw-r--r-- | httemplate/misc/process/payment.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
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 |