- avsAddress1 => $item->address ? truncate_egc($item->address, 30) : undef,
- avsAddress2 => $item->address2 ? truncate_egc($item->address2, 30) : undef,
- avsCity => $item->city ? truncate_egc($item->city, 20) : undef,
- avsState => $item->state ? truncate_egc($item->state, 2) : undef,
+ avsAddress1 => $item->address ? truncate_egc($item->address, 30, '') : undef,
+ avsAddress2 => $item->address2 ? truncate_egc($item->address2, 30, '') : undef,
+ avsCity => $item->city ? truncate_egc($item->city, 20, '') : undef,
+ avsState => $item->state ? truncate_egc($item->state, 2, '') : undef,