From 0631ab0eb9cacdcd7cff6ba46a3f3ba3be243026 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 4 Feb 2008 17:14:47 +0000 Subject: [PATCH] Kontakte sortiert ausgeben. --- bin/mozilla/ct.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index 76d9fb71f..7c15fd7b4 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -267,7 +267,7 @@ sub form_header { $form->{is_customer} = $form->{db} eq 'customer'; $form->{salesman_label} = sub { $_[0]->{name} ne "" ? $_[0]->{name} : $_[0]->{login} }; $form->{shipto_label} = sub { "$_[0]->{shiptoname} $_[0]->{shiptodepartment_1}" }; - $form->{contacts_label} = sub { "$_[0]->{cp_givenname} $_[0]->{cp_name}" }; + $form->{contacts_label} = sub { join ", ", grep { $_ } $_[0]->{cp_name}, $_[0]->{cp_givenname} }; $form->{taxzone_id} = 0 if !$form->{id}; $form->{jsscript} = 1; $form->{fokus} = "ct.greeting"; -- 2.39.5