Fix import handle cleanup on error
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
e408163aed
commit
e068339e90
@ -1343,7 +1343,7 @@ function PMA_stopImport( Message $error_message )
|
||||
|
||||
// Close open handles
|
||||
if ($import_handle !== false && $import_handle !== null) {
|
||||
fclose($import_handle);
|
||||
$import_handle->close();
|
||||
}
|
||||
|
||||
// Delete temporary file
|
||||
|
||||
Loading…
Reference in New Issue
Block a user