mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16743] Properly check if TMP file exists - PHP 8
PHPBB3-16743
This commit is contained in:
parent
4d5db19feb
commit
e49a6e06a8
1 changed files with 4 additions and 1 deletions
|
@ -476,7 +476,10 @@ class filespec
|
|||
}
|
||||
|
||||
// Remove temporary filename
|
||||
if (file_exists($this->filename))
|
||||
{
|
||||
@unlink($this->filename);
|
||||
}
|
||||
|
||||
if (count($this->error))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue