1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 17:27:16 +02:00

Merge pull request #6177 from 3D-I/ticket/16743

[ticket/16743] Properly check if TMP file exists - PHP 8
This commit is contained in:
Marc Alexander
2021-03-30 20:07:42 +02:00
committed by GitHub

View File

@@ -476,7 +476,10 @@ class filespec
}
// Remove temporary filename
if (file_exists($this->filename))
{
@unlink($this->filename);
}
if (count($this->error))
{