diff options
author | Mark Wells <mark@freeside.biz> | 2013-05-05 16:44:26 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-05-05 16:44:45 -0700 |
commit | 786d21e09d1f11c8976a8d45ef734d2d0a100ee7 (patch) | |
tree | 1fea237df00454bceada22b02e703492f1b2459d /httemplate/edit/process/change-cust_pkg.html | |
parent | 1daf1a670d3cdfb307271fb7c7c98c83fb1fb464 (diff) |
allow certain minor location edits without moving packages, #940
Diffstat (limited to 'httemplate/edit/process/change-cust_pkg.html')
-rw-r--r-- | httemplate/edit/process/change-cust_pkg.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/change-cust_pkg.html b/httemplate/edit/process/change-cust_pkg.html index 77f261d56..c893f13a2 100644 --- a/httemplate/edit/process/change-cust_pkg.html +++ b/httemplate/edit/process/change-cust_pkg.html @@ -32,7 +32,7 @@ my %change = map { $_ => scalar($cgi->param($_)) } $change{'keep_dates'} = 1; if ( $cgi->param('locationnum') == -1 ) { - my $cust_location = FS::cust_location->new_or_existing({ + my $cust_location = FS::cust_location->new({ 'custnum' => $cust_pkg->custnum, map { $_ => scalar($cgi->param($_)) } qw( address1 address2 city county state zip country ) |