Show
Ignore:
Timestamp:
07/09/08 02:47:30 (17 months ago)
Author:
takayama
Message:

Fixed BugId:80382
* Changed to removes fileinfo records when entry was deleted.

  • CMS, Atom and XMLRPC
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/ArchiveType/Category.pm

    r2335 r2737  
    143143sub archive_entries_count { 
    144144    my $obj = shift; 
    145     my ( $blog, $at, $entry ) = @_; 
     145    my ( $blog, $at, $entry, $cat ) = @_; 
    146146    return $obj->SUPER::archive_entries_count(@_) unless $entry; 
    147     my $cat = $entry->category; 
     147    $cat = $entry->category unless $cat; 
    148148    return 0 unless $cat; 
    149149    return $obj->SUPER::archive_entries_count(