X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FForm.pm;h=71538515474d9b80f7cd6fa9e55b6463d6bd9c27;hb=a7d906be599d13f0e0477987437540243ce886d3;hp=a0c8ce1769fc64b8781fbc6e615375fc02f246a6;hpb=66022cbd0893e066eec8826a15884d2d0457fe4f;p=kivitendo-erp.git diff --git a/SL/Form.pm b/SL/Form.pm index a0c8ce176..715385154 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -636,7 +636,6 @@ sub header { $jsscript = qq| - @@ -1438,7 +1437,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;