Changeset 5456


Ignore:
Timestamp:
03/29/10 22:05:08 (10 years ago)
Author:
ronosman
Message:

Use caption as prefix.

File:
1 edited

Legend:

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

    r5184 r5456  
    14981498    if(defined $name){ 
    14991499        map { 
    1500             my $_name = 'CODE' eq ref $name ? 
    1501                 $name->($_, $param) : 
    1502                 $name; 
     1500            my $_name; 
     1501            if( 'CODE' eq ref $name ){ 
     1502                $_name = $name->($_, $param); 
     1503            } 
     1504            else{ 
     1505                $_name = $name; 
     1506                $self->default_name_prefix; 
     1507            } 
    15031508            $self->image_selection_name($_name); 
    15041509 
Note: See TracChangeset for help on using the changeset viewer.