From b75fb96bab92952011f796cf29611c6bff09dd37 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 28 May 2014 22:34:10 +0200 Subject: [ticket/11226] Explicity set file_moved to false PHPBB3-11226 --- phpBB/includes/functions_upload.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/includes/functions_upload.php') diff --git a/phpBB/includes/functions_upload.php b/phpBB/includes/functions_upload.php index 16a05a0a56..21ee9a7119 100644 --- a/phpBB/includes/functions_upload.php +++ b/phpBB/includes/functions_upload.php @@ -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 -- cgit v1.2.1