Commit 1a7da8be by Philippe Gaultier Committed by Philippe Gaultier

Use correct files array to allow inheritence

parent d1663a5f
...@@ -129,7 +129,7 @@ class UploadedFile extends Object ...@@ -129,7 +129,7 @@ class UploadedFile extends Object
$results = []; $results = [];
foreach ($files as $key => $file) { foreach ($files as $key => $file) {
if (strpos($key, "{$name}[") === 0) { if (strpos($key, "{$name}[") === 0) {
$results[] = self::$_files[$key]; $results[] = $file;
} }
} }
return $results; return $results;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment