Skip to content

Commit 5be46c5

Browse files
authored
Merge branch 'master' into missing-dynamic-property
2 parents e8309cc + 8bb0b9c commit 5be46c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Spreadsheet/Excel/Writer/Worksheet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ public function getData($cleanup = true)
779779
fclose($this->_filehandle);
780780
$this->_filehandle = '';
781781
}
782-
@unlink($this->_tmp_file);
782+
file_exists($this->_tmp_file) && @unlink($this->_tmp_file);
783783
$this->_tmp_file = '';
784784
$this->_using_tmpfile = false;
785785
$this->_datasize = 0;

0 commit comments

Comments
 (0)