summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/cust_main.cgi
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-05-09 17:50:27 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-05-09 18:02:48 -0500
commit8d56875d788f0bc4e1dd3338e7cc7fd26d63c52f (patch)
tree13ae2cf26db21e207bc39fa99ffda62917d9e5ae /httemplate/edit/process/cust_main.cgi
parent0e1145ddaed12275fca87cd352ee5ce85aa62344 (diff)
RT#41124: Backend Unti Search
Diffstat (limited to 'httemplate/edit/process/cust_main.cgi')
-rwxr-xr-xhttemplate/edit/process/cust_main.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi
index 82ec50c36..6961d18c0 100755
--- a/httemplate/edit/process/cust_main.cgi
+++ b/httemplate/edit/process/cust_main.cgi
@@ -97,8 +97,8 @@ if ( ($cgi->param('same') || '') eq 'Y' ) {
# but explicitly avoid setting ship_ fields
my $new = new FS::cust_main ( {
- map { ( $_, scalar($cgi->param($_)) ) } (fields('cust_main')),
- map { ( "ship_$_", '' ) } (FS::cust_main->location_fields)
+ (map { ( $_, scalar($cgi->param($_)) ) } (fields('cust_main'))),
+ (map { ( "ship_$_", '' ) } (FS::cust_main->location_fields))
} );
$new->invoice_noemail( ($cgi->param('invoice_email') eq 'Y') ? '' : 'Y' );