From 76ac7f4982a27ea966c42a705011b82cddca400a Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 3 Feb 2008 01:43:33 +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 e93524d7b..5a06b11ff 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -524,7 +524,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.20.1