Changeset 3366


Ignore:
Timestamp:
05/29/09 22:56:56 (10 years ago)
Author:
ronosman
Message:

Bug 1010 fixed : Error with pLoader cache.

File:
1 edited

Legend:

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

    r3360 r3366  
    498498    my @images = reverse @{$self->image_selection};      
    499499    map { 
    500         my $image = $self->GetImage($_)->file; 
     500        #my $image = $self->GetImage($_)->file; 
     501        $self->DeleteImage($_); 
    501502        splice @{$self->sums}, $_, 1 ; 
    502503        $self->wx_thumb_imglist->Remove($_); 
     
    12051206} 
    12061207 
     1208sub DeleteImage { 
     1209    my ( $self, $indx ) = @_; 
     1210     
     1211    my $sum = $self->sums->[$indx]; 
     1212 
     1213    delete $self->image_sums->{$sum}; 
     1214} 
     1215 
     1216 
    120712171; 
Note: See TracChangeset for help on using the changeset viewer.