Changeset 67 for trunk

Show
Ignore:
Timestamp:
11/24/09 23:39:49 (4 years ago)
Author:
clinton
Message:

Fixed bug introduced in r66 in which all file uploads got the empty string as a name

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/Mungo/MultipartFormData.pm

    r66 r67  
    5353                    } 
    5454                } else { 
    55                     $self->{$part->{name}} = $part; 
     55                    $self->{$name} = $part; 
    5656                } 
    5757 
     
    6868                    } 
    6969                } else { 
    70                     $self->{$part->{name}} = $part->{payload}; 
     70                    $self->{$name} = $part->{payload}; 
    7171                } 
    7272            }