Skip to content
Permalink
Browse files

Fix 0 index not being properly parsed for files.

  • Loading branch information...
markstory committed Aug 23, 2014
1 parent 72f62b7 commit cd7438d33d0ca17e055098aee7ba8b88afe66939
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/CakeRequest.php
@@ -371,7 +371,7 @@ protected function _processFiles() {
protected function _processFileData($path, $data, $field) {
foreach ($data as $key => $fields) {
$newPath = $key;
if (!empty($path)) {
if (strlen($path) > 0) {
$newPath = $path . '.' . $key;
}
if (is_array($fields)) {

0 comments on commit cd7438d

Please sign in to comment.
You can’t perform that action at this time.