mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-02 13:41:21 +00:00
Small Improvement
This commit is contained in:
@@ -39,6 +39,9 @@ class XMLWriter extends \XMLWriter
|
||||
if (empty($this->tempFileName) || $this->openUri($this->tempFileName) === false) {
|
||||
// Fallback to memory...
|
||||
$this->openMemory();
|
||||
if ($this->tempFileName != '') {
|
||||
@unlink($this->tempFileName);
|
||||
}
|
||||
$this->tempFileName = '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user