diff options
author | ivan <ivan> | 2008-02-03 01:43:33 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-02-03 01:43:33 +0000 |
commit | 76ac7f4982a27ea966c42a705011b82cddca400a (patch) | |
tree | c6ac0e44b4f70f7fdad8a9722c91604da113b4b5 /httemplate/edit | |
parent | d0ca3aa05730455c6eb54c189d6e131e8c9c71e3 (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 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; |