Changeset 6740


Ignore:
Timestamp:
Jul 31, 2010, 7:01:04 PM (11 years ago)
Author:
ronosman
Message:

Fix crash when uploading in multiple selection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/Images.pm

    r6738 r6740  
    373373   
    374374    # works in single and multi selection mode
    375     if(defined $name){
     375    if(length $name > 0){
    376376        map {
    377377            my $_name;
     
    401401    # if multiple selection
    402402    if($self->multi_selection_mode){
    403         if(defined $author){
     403        if(length $author > 0){
    404404            $self->selection_author($author);
    405405            map {
     
    420420    # if multiple selection
    421421    if($self->multi_selection_mode){
    422         if(defined $comment){
     422        if(length $comment > 0){
    423423            $self->selection_comment($comment);
    424424            map {
Note: See TracChangeset for help on using the changeset viewer.