diff --git a/system/HTTP/Files/FileCollection.php b/system/HTTP/Files/FileCollection.php index 95f51cb490f0..1d76195d6bbb 100644 --- a/system/HTTP/Files/FileCollection.php +++ b/system/HTTP/Files/FileCollection.php @@ -310,7 +310,7 @@ protected function fixFilesArray(array $data): array */ protected function getValueDotNotationSyntax(array $index, array $value) { - if (is_array($index) && ! empty($index)) + if (! empty($index)) { $current_index = array_shift($index); }