#11780 Fix functions_filemanager

This commit is contained in:
miguel angel rasteu 2023-08-29 08:23:06 +02:00
parent e8613dc2f0
commit 32c2925515
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,8 @@ function upload_file($upload_file_or_zip, $default_real_directory, $destination_
// Upload zip.
if ($upload_zip === true) {
$parse_all_queries = explode('&', parse_url($_SERVER['HTTP_REFERER'], PHP_URL_QUERY));
$parse_sec2_query = explode('=', $parse_all_queries[1]);
if (isset($_FILES['file']) === true
&& empty($_FILES['file']['name']) === false
) {