From: Sven Schöling Date: Mon, 2 Apr 2007 10:50:27 +0000 (+0000) Subject: Bug 614. X-Git-Tag: release-2.4.3^2~546 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a143b82a56e889cfda60c2d42fe7d0bdaf73aa83;p=kivitendo-erp.git Bug 614. Auch copy&paste Programmierung will gelernt sein... :/ --- diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index bf64bb612..51f376253 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -1667,10 +1667,7 @@ sub yes { sub e_mail { $lxdebug->enter_sub(); - $form->{postasnew} = 1; - $print_post = 1; - - map { delete $form->{$_} } qw(printed emailed queued); + $print_post = 1; &post; diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 98e68d2bb..f55d5a7cc 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -2538,18 +2538,7 @@ sub poso { sub e_mail { $lxdebug->enter_sub(); - $form->{saveasnew} = 1; - $form->{closed} = 0; $form->{print_and_save} = 1; - map { delete $form->{$_} } qw(printed emailed queued); - - # Let Lx-Office assign a new order number if the user hasn't changed the - # previous one. If it has been changed manually then use it as-is. - my $idx = $form->{type} =~ /_quotation$/ ? "quonumber" : "ordnumber"; - if ($form->{saved_xyznumber} && - ($form->{saved_xyznumber} eq $form->{$idx})) { - delete($form->{$idx}); - } &save;