From bfaef835c20ba69d5ea4242e67a0dcb4fcbd4f50 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 19 Jan 2007 16:04:21 +0000 Subject: [PATCH] =?utf8?q?Bugfix=20f=C3=BCr=20einen=20meiner=20letzten=20C?= =?utf8?q?ommits:=20Beim=20Anklicken=20von=20"Lieferadresse"=20blieb=20die?= =?utf8?q?=20linke=20Seite=20(Rechnungsadresse)=20leer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 4f36c7818..372389b3d 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -2056,8 +2056,12 @@ sub ship_to { shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2); + my @addr_vars = + (qw(name department_1 department_2 street zipcode city country + contact email phone fax)); + # get details for name - &{"$form->{vc}_details"}(@shipto_vars); + &{"$form->{vc}_details"}(@addr_vars); $number = ($form->{vc} eq 'customer') @@ -2138,12 +2142,12 @@ sub ship_to { | . $locale->text('Phone') . qq| - $form->{"$form->{vc}phone"} + $form->{phone} | . $locale->text('Fax') . qq| - $form->{"$form->{vc}fax"} + $form->{fax} -- 2.20.1