Behebt #478 Offene Forderungsliste per Mail verschicken
authorJan Büren <jan@kivitendo.de>
Fri, 2 Apr 2021 11:27:04 +0000 (13:27 +0200)
committerJan Büren <jan@kivitendo.de>
Fri, 2 Apr 2021 11:27:04 +0000 (13:27 +0200)
bin/mozilla/rp.pl

index a7f6ede..f6db5e2 100644 (file)
@@ -1139,13 +1139,11 @@ sub send_email {
 
   RP->aging(\%myconfig, \%$form);
 
-  $form->{"statement_1"} = 1;
 
   my $email_form  = delete $form->{email_form};
   my %field_names = (to => 'email');
 
   $form->{ $field_names{$_} // $_ } = $email_form->{$_} for keys %{ $email_form };
-
   $form->{media} = 'email';
   print_form();