Changeset 4822

Show
Ignore:
Timestamp:
06/06/07 15:49:05 (1 year ago)
Author:
morris
Message:

Old uncommitted stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • animanga/trunk/lib/Animanga/Data.pm

    r4331 r4822  
    200200                        $self->update("forums", { commenttime => $time, }, { fid => $aid }); 
    201201                } else { 
    202                         $self->update("stories", { storycommenttime => $time, }, { fid => $aid }); 
     202                        $self->update("stories", { storycommenttime => $time, }, { sid => $aid }); 
    203203                } 
    204204        } 
     
    304304                        $self->update("forums", { commenttime => $time, }, { fid => $aid }); 
    305305                } else { 
    306                         $self->update("stories", { storycommenttime => $time, }, { fid => $aid }); 
     306                        $self->update("stories", { storycommenttime => $time, }, { sid => $aid }); 
    307307                } 
    308308        } 
     
    730730                                storycommenttime        => $now, 
    731731                        }, {  
    732                                 fid                   => $aid 
     732                                sid                   => $aid 
    733733                        }); 
    734734                } 
  • animanga/trunk/lib/Animanga/Utility.pm

    r4331 r4822  
    211211                                my($u, $o) = @_; 
    212212 
    213                                 if($u =~ /\]/ || $u =~ /\[\//) { 
     213                                if($u =~ /\]/ || $u =~ /\[\// || $o =~ /^.{1,2}\..{1,2}$/) { 
    214214                                        return $o; 
    215215                                } else {