summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main.cgi
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-02-26 19:43:07 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-02-26 19:43:07 -0500
commit3e4d22b2cd42755981754f95de97f915a31f8233 (patch)
treefbaf66a339b1826635ce4d84244bf2617b73109a /httemplate/edit/cust_main.cgi
parentcedd94d2315b9c20f939a9619ba83156e7765b8b (diff)
RT# 79497 - change on v3 to carry over contacts on edit customer error. V3 fix for displaying contacts in change history
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-xhttemplate/edit/cust_main.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index fbd292ffb..7c0eb4d58 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -402,7 +402,8 @@ if ( $cgi->param('error') ) {
}
my %keep = map { $_=>1 } qw( error tagnum lock_agentnum lock_pkgpart );
-$cgi->delete( grep { !$keep{$_} && $_ !~ /^tax_/ } $cgi->param );
+#$cgi->delete( grep { !$keep{$_} && $_ !~ /^tax_/ } $cgi->param );
+$cgi->delete( grep { !$keep{$_} && $_ !~ /^tax_/ && $_ !~ /^contactnum/ } $cgi->param );
my $title = $custnum ? 'Edit Customer' : 'Add Customer';
$title = mt($title);