From ddc3bbb167d3010b0058efa8f90936d15be76c2e Mon Sep 17 00:00:00 2001 From: Philip Reetz Date: Wed, 17 Jan 2007 10:22:27 +0000 Subject: [PATCH] Fehler bei Lieferadressen die Anfuehrungszeichen im Namen enthalten --- bin/mozilla/is.pl | 8 +++++--- bin/mozilla/oe.pl | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 981074862..67ffc4dd7 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -369,6 +369,7 @@ sub form_header { } } else { + $form->{selectshipto} = $form->unquote($form->{selectshipto}); $form->{selectshipto} =~ s/ selected//g; if ($form->{shipto_id} ne "") { $form->{selectshipto} =~ s/value=$form->{shipto_id}/value=$form->{shipto_id} selected/; @@ -377,8 +378,9 @@ sub form_header { $shipto = qq| | . $locale->text('Shipping Address') . qq| - - |; + |; + $form->{selectshipto} = $form->quote($form->{selectshipto}); + $shipto .= qq| |; @@ -1080,7 +1082,7 @@ if ($form->{type} eq "credit_note") { if ($form->{id}) { print qq| - diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 0d96abf2d..694142486 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -432,11 +432,12 @@ sub form_header { ""; } else { $form->{selectshipto} .= - ""; + ""; } } } else { + $form->{selectshipto} = $form->unquote($form->{selectshipto}); $form->{selectshipto} =~ s/ selected//g; if ($form->{shipto_id} ne "") { $form->{selectshipto} =~ s/value=$form->{shipto_id}/value=$form->{shipto_id} selected/; @@ -445,9 +446,9 @@ sub form_header { $shipto = qq| | . $locale->text('Shipping Address') . qq| - - |; - + |; + $form->{selectshipto} = $form->quote($form->{selectshipto}); + $shipto .= qq| |; -- 2.20.1