From: Moritz Bunkus Date: Tue, 19 May 2009 09:14:21 +0000 (+0000) Subject: Och Philip... X-Git-Tag: release-2.6.0rc1~24 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b4c74fe9b236c5d86b8746ee4f3c32a9db07bdd7;p=kivitendo-erp.git Och Philip... --- 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}) {