diff --git a/phpBB/phpbb/files/filespec_storage.php b/phpBB/phpbb/files/filespec_storage.php index f223976b9e..fcda005d7b 100644 --- a/phpBB/phpbb/files/filespec_storage.php +++ b/phpBB/phpbb/files/filespec_storage.php @@ -447,6 +447,7 @@ class filespec_storage $fp = fopen($this->filename, 'rb'); $storage->write($this->destination_file, $fp); + $this->file_moved = true; } catch (\phpbb\storage\exception\storage_exception $e) {