From b4c74fe9b236c5d86b8746ee4f3c32a9db07bdd7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 19 May 2009 09:14:21 +0000 Subject: [PATCH] Och Philip... --- bin/mozilla/oe.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 43b360f53..656abcb5f 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -342,7 +342,7 @@ sub form_header { $credittext = $locale->text('Credit Limit exceeded!!!'); my $follow_up_vc = $form->{ $form->{vc} eq 'customer' ? 'customer' : 'vendor' }; - $follow_up_vc =~ s/--.*?//; + $follow_up_vc =~ s/--\d*\s*$//; $TMPL_VAR{follow_up_trans_info} = ($form->{type} =~ /_quotation$/ ? $form->{quonumber} : $form->{ordnumber}) . " ($follow_up_vc)"; if ($form->{id}) { -- 2.20.1