patch #2143882 [import] Temporary uploaded file not deleted
This commit is contained in:
@@ -352,6 +352,7 @@ if (!$error) {
|
||||
|
||||
// Cleanup temporary file
|
||||
if ($file_to_unlink != '') {
|
||||
fclose($file_to_unlink);
|
||||
unlink($file_to_unlink);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user