]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Common.pm
Menge und Soldtotal in Warensuche getrennt.
[kivitendo-erp.git] / SL / Common.pm
index c0bca019566e71c3e8757c8bc235631cdd7e45bb..371bb8a7dea1bc5d92ca7e4a2e3a777a56a4f712 100644 (file)
@@ -496,8 +496,8 @@ sub save_email_status {
 
   $intnotes .= "\n\n" if ($intnotes);
 
-  my $cc  = $main::locale->text('Cc') . ": $form->{cc}\n"   if $form->{cc};
-  my $bcc = $main::locale->text('Bcc') . ": $form->{bcc}\n" if $form->{bcc};
+  my $cc  = $form->{cc}  ? $main::locale->text('Cc') . ": $form->{cc}\n"   : '';
+  my $bcc = $form->{bcc} ? $main::locale->text('Bcc') . ": $form->{bcc}\n" : '';
   my $now = scalar localtime;
 
   $intnotes .= $main::locale->text('[email]') . "\n"