From e8384f16694d6c7f094bdc7a1506c29dbf7f1417 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 3 Feb 2008 01:43:32 +0000 Subject: [PATCH] oops, fix display of errors on customer edit --- httemplate/edit/cust_main.cgi | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.11.0