1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11226] Explicity set file_moved to false

PHPBB3-11226
This commit is contained in:
Tristan Darricau
2014-05-28 22:34:10 +02:00
parent 6a3b343dfc
commit b75fb96bab
2 changed files with 3 additions and 1 deletions

View File

@@ -309,6 +309,7 @@ class filespec
{
@unlink($this->filename);
$this->error[] = $user->lang($this->upload->error_prefix . 'GENERAL_UPLOAD_ERROR', $this->destination_file);
$this->file_moved = false;
return false;
}
else