Fix import handle cleanup on error

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-04-11 17:20:01 +02:00
parent e408163aed
commit e068339e90

View File

@ -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