From 7dfa6eed24ec82c6891b75fee18993956a02a7b9 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Wed, 29 Dec 2010 11:42:35 +0100 Subject: [PATCH] Bug 1506: E-Mail an Ansprechpartner statt Firmenadresse MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit wenn Ansprechpartner ausgewählt wurde --- bin/mozilla/io.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index b50fe4e14..6377fa6d9 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1040,9 +1040,9 @@ sub edit_e_mail { $form->{email} = $form->{shiptoemail} if $form->{shiptoemail} && $form->{formname} =~ /(pick|packing|bin)_list/; - if ($form->{"cp_id"} && !$form->{"email"}) { + if ($form->{"cp_id"}) { CT->get_contact(\%myconfig, $form); - $form->{"email"} = $form->{"cp_email"}; + $form->{"email"} = $form->{"cp_email"} if $form->{"cp_email"}; } my $title = $locale->text('E-mail') . " " . $form->get_formname_translation(); -- 2.20.1