X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/87d99e7285f69f6f51596162ad8d7b744c48d517..5e043871ee4c2e22e940d2bd08b9a72d134564e9:/SL/Form.pm?ds=inline diff --git a/SL/Form.pm b/SL/Form.pm index c578b2947..9417e76c6 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1438,7 +1438,7 @@ sub cleanup { close(FH); } - if ($self->{tmpfile}) { + if ($self->{tmpfile} && ! $::keep_temp_files) { $self->{tmpfile} =~ s|.*/||g; # strip extension $self->{tmpfile} =~ s/\.\w+$//g;