X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpay_batch.pm;h=02c8e34b06e17369735312680e22890d2c46a433;hp=35c79f50b1d7f94c1f942e19ffc4f8b0be318c32;hb=c0607591ac4db28b1c4dee0a65546e88c5d62166;hpb=194c16bf0af62048d118ad28e55f5e1eb5d92ffa diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index 35c79f50b..02c8e34b0 100644 --- a/FS/FS/pay_batch.pm +++ b/FS/FS/pay_batch.pm @@ -614,7 +614,8 @@ sub import_from_gateway { my $error; my $paybatch = $gateway->gatewaynum . '-' . $gateway->gateway_module . - ':' . $item->authorization . ':' . $item->order_number; + ':' . ($item->authorization || '') . + ':' . ($item->order_number || ''); if ( $batch->incoming ) { # This is a one-way batch.