This commit is contained in:
Abdulrahman
2019-05-26 00:01:20 +03:00
parent 4e1c7e65d9
commit 4e39127fab
3 changed files with 9 additions and 5 deletions

View File

@@ -414,7 +414,7 @@ class defaultUploader implements KleejaUploader
//no file!
if (empty($_FILES['file_' . $i . '_']['tmp_name']) && empty($_FILES['file'][$i]['tmp_name']))
{
if (is_null($_FILES['file_' . $i . '_']) && is_null($_FILES['file'][$i]))
if (! isset($_FILES['file_' . $i . '_'], $_FILES['file'][$i]))
{
continue;
}