From: Moritz Bunkus Date: Thu, 13 Jan 2011 12:49:22 +0000 (+0100) Subject: $form->{templates} nicht forciert mit $::myconfig{templates} überschreiben X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~20 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b15682b7a64108cab73f06368203475d7c1777f0;p=kivitendo-erp.git $form->{templates} nicht forciert mit $::myconfig{templates} überschreiben --- diff --git a/SL/Form.pm b/SL/Form.pm index e2132c6e9..f5c0a8062 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -3566,7 +3566,7 @@ sub prepare_for_printing { $extension = 'xls'; } - my $email_extension = '_email' if -f "$::myconfig{templates}/$self->{formname}_email${language}.${extension}"; + my $email_extension = '_email' if -f "$self->{templates}/$self->{formname}_email${language}.${extension}"; $self->{IN} = "$self->{formname}${email_extension}${language}.${extension}"; # Format dates.