Add missing error check
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
b4d53c1970
commit
f90ca55a57
@ -457,6 +457,9 @@ if ($import_file != 'none' && ! $error) {
|
||||
*/
|
||||
$import_handle = new File($import_file);
|
||||
$import_handle->checkUploadedFile();
|
||||
if ($import_handle->isError()) {
|
||||
PMA_stopImport($import_handle->getError());
|
||||
}
|
||||
$import_handle->setDecompressContent(true);
|
||||
$import_handle->open();
|
||||
if ($import_handle->isError()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user