check if exists

This commit is contained in:
Uwe Steinmann 2022-07-28 11:43:15 +02:00
parent 9a0992751d
commit 3a4220fe18

View File

@ -261,7 +261,7 @@ function reArrayFiles(&$file_post) {
return $file_ary;
}
if ($_FILES['userfile']) {
if(!empty($_FILES['userfile'])) {
$file_ary = reArrayFiles($_FILES['userfile']);
} else {
$file_ary = array();