my $cust_location = new FS::cust_location {
map { $_ => scalar($cgi->param($_)) }
- qw( address1 address2 city county state zip country )
+ qw( address1 address2 city county state zip country
+ location_kind location_type location_number
+ )
};
$cust_location->locationnum($locationnum) unless $locationnum == -1;