From ca6ed3db7713132e4a9297e0f0ca4b6018440504 Mon Sep 17 00:00:00 2001 From: Bernd Blessmann Date: Wed, 30 May 2012 10:35:13 +0200 Subject: [PATCH] =?utf8?q?tempor=C3=A4re=20tex-Files=20nicht=20l=C3=B6sche?= =?utf8?q?n,=20wenn=20Debug-Option=20keep=5Ftemp=5Ffiles=20an=20ist.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1