diff --git a/libraries/File.class.php b/libraries/File.class.php index 378b25d84..4fd334225 100644 --- a/libraries/File.class.php +++ b/libraries/File.class.php @@ -265,7 +265,7 @@ class PMA_File */ function setUploadedFromTblChangeRequest($key, $rownumber) { - if (! isset($_FILES['fields_upload']) && ! isset($_FILES['fields_upload']['name']['multi_edit'][$rownumber][$key])) { + if (! isset($_FILES['fields_upload']) || empty($_FILES['fields_upload']['name']['multi_edit'][$rownumber][$key])) { return false; } $file = PMA_File::fetchUploadedFromTblChangeRequestMultiple($_FILES['fields_upload'], $rownumber, $key);