| @@ 602-604 (lines=3) @@ | ||
| 599 | ||
| 600 | // Extract posted feedback value |
|
| 601 | $tmpFile = array(); |
|
| 602 | foreach(array('name', 'type', 'tmp_name', 'error', 'size') as $field) { |
|
| 603 | $tmpFile[$field] = $postVars[$field]['Upload']; |
|
| 604 | } |
|
| 605 | return $tmpFile; |
|
| 606 | } |
|
| 607 | ||
| @@ 1102-1104 (lines=3) @@ | ||
| 1099 | // Skip if "empty" file |
|
| 1100 | if(empty($postVars['tmp_name']['Uploads'][$i])) continue; |
|
| 1101 | $tmpFile = array(); |
|
| 1102 | foreach(array('name', 'type', 'tmp_name', 'error', 'size') as $field) { |
|
| 1103 | $tmpFile[$field] = $postVars[$field]['Uploads'][$i]; |
|
| 1104 | } |
|
| 1105 | $tmpFiles[] = $tmpFile; |
|
| 1106 | } |
|
| 1107 | } elseif(!empty($postVars['tmp_name'])) { |
|