summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhttemplate/edit/cust_main.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index 4e4336a26..aae809370 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -530,7 +530,10 @@ if ( $cgi->param('error') ) {
$stateid = '';
$payinfo = '';
}
+
+my $error = $cgi->param('error');
$cgi->delete_all();
+$cgi->param('error', $error);
my $action = $custnum ? 'Edit' : 'Add';
$action .= ": ". $cust_main->name if $custnum;