Skip to content
Browse files

Remove duplicate entry

  • Loading branch information...
1 parent 8cb66ab commit 309fb3a830e01b8f782e7fcc69a2fbd220e59bd7 @acidvertigo acidvertigo committed
Showing with 1 addition and 6 deletions.
  1. +1 −6 catalog/admin/includes/classes/upload.php
View
7 catalog/admin/includes/classes/upload.php
@@ -42,12 +42,7 @@ function parse() {
'type' => $_FILES[$this->file]['type'],
'size' => $_FILES[$this->file]['size'],
'tmp_name' => $_FILES[$this->file]['tmp_name']);
- } elseif (isset($_FILES[$this->file])) {
- $file = array('name' => $_FILE[$this->file]['name'],
- 'type' => $_FILES[$this->file]['type'],
- 'size' => $_FILES[$this->file]['size'],
- 'tmp_name' => $_FILES[$this->file]['tmp_name']);
- }
+ }
if ( tep_not_null($file['tmp_name']) && ($file['tmp_name'] != 'none') && is_uploaded_file($file['tmp_name']) ) {
if (sizeof($this->extensions) > 0) {

0 comments on commit 309fb3a

Please sign in to comment.
Something went wrong with that request. Please try again.