From: Bernd Blessmann Date: Wed, 30 May 2012 08:35:13 +0000 (+0200) Subject: temporäre tex-Files nicht löschen, wenn Debug-Option keep_temp_files an ist. X-Git-Tag: release-3.0.0beta1~317^2~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ca6ed3db7713132e4a9297e0f0ca4b6018440504;p=kivitendo-erp.git temporäre tex-Files nicht löschen, wenn Debug-Option keep_temp_files an ist. --- diff --git a/SL/Form.pm b/SL/Form.pm index 8d28f845b..849167363 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1117,7 +1117,7 @@ sub parse_template { 'kivitendo-printXXXXXX', SUFFIX => '.' . ($suffix || 'tex'), DIR => $userspath, - UNLINK => 1, + UNLINK => ($::lx_office_conf{debug} && $::lx_office_conf{debug}->{keep_temp_files})? 0 : 1, ); close $temp_fh;