From: Moritz Bunkus Date: Fri, 10 Dec 2010 13:18:56 +0000 (+0100) Subject: Sprachkürzel in Vorlagenname mit Unterstrich absetzen X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~21 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=90ae77dd1828192d066511be6a143073bec878dd;p=kivitendo-erp.git Sprachkürzel in Vorlagenname mit Unterstrich absetzen --- diff --git a/SL/Form.pm b/SL/Form.pm index 9bb946fdf..e2132c6e9 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -3566,8 +3566,8 @@ sub prepare_for_printing { $extension = 'xls'; } - my $email_extension = '_email' if -f "$::myconfig{templates}/$self->{formname}_email$self->{language}.${extension}"; - $self->{IN} = "$self->{formname}${email_extension}$self->{language}.${extension}"; + my $email_extension = '_email' if -f "$::myconfig{templates}/$self->{formname}_email${language}.${extension}"; + $self->{IN} = "$self->{formname}${email_extension}${language}.${extension}"; # Format dates. $self->format_dates($output_dateformat, $output_longdates,