correct fix for bug 2143882
This commit is contained in:
@@ -350,9 +350,12 @@ if (!$error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! $error && $import_handle !== FALSE) {
|
||||||
|
fclose($import_handle);
|
||||||
|
}
|
||||||
|
|
||||||
// Cleanup temporary file
|
// Cleanup temporary file
|
||||||
if ($file_to_unlink != '') {
|
if ($file_to_unlink != '') {
|
||||||
fclose($file_to_unlink);
|
|
||||||
unlink($file_to_unlink);
|
unlink($file_to_unlink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user