X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d5a3eba276c5e18e51511878fc74ee717969410b..e7a7492e:/bin/mozilla/arap.pl diff --git a/bin/mozilla/arap.pl b/bin/mozilla/arap.pl index 75764a434..29cad3977 100644 --- a/bin/mozilla/arap.pl +++ b/bin/mozilla/arap.pl @@ -109,7 +109,7 @@ sub check_name { $form->error($locale->text("More than one #1 found matching, please be more specific.", $locale->text(ucfirst $name))); } else { &select_name($name); - ::end_of_request(); + $::dispatcher->end_request; } } @@ -269,6 +269,7 @@ sub name_selected { my $i = $form->{ndx}; _reset_salesman_id(); + delete @{ $form }{qw(payment_id)}; $form->{ $form->{vc} } = $form->{"new_name_$i"}; $form->{"$form->{vc}_id"} = $form->{"new_id_$i"};