|
|
@ -240,7 +240,7 @@ class UploadedFile extends \yii\base\Object |
|
|
|
self::loadFilesRecursive($key . '[' . $i . ']', $name, $tempNames[$i], $types[$i], $sizes[$i], $errors[$i]); |
|
|
|
self::loadFilesRecursive($key . '[' . $i . ']', $name, $tempNames[$i], $types[$i], $sizes[$i], $errors[$i]); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
self::$_files[$key] = new self($names, $tempNames, $types, $sizes, $errors); |
|
|
|
self::$_files[$key] = new static($names, $tempNames, $types, $sizes, $errors); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|