diff options
author | ivan <ivan> | 2008-02-03 01:43:32 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-02-03 01:43:32 +0000 |
commit | e8384f16694d6c7f094bdc7a1506c29dbf7f1417 (patch) | |
tree | ac51c744c6f813a54486a444c45af2ffe7fcfb58 /httemplate/edit | |
parent | 0b6fc6642313a9daa3dccdcae8366898ff68f0ca (diff) |
oops, fix display of errors on customer edit
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 3 |
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; |