Show
Ignore:
Timestamp:
04/03/08 08:56:40 (20 months ago)
Author:
takayama
Message:

Fixed BugId:70282
* Fixed for nested category based archive count issue.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/lib/MT/Template/ContextHandlers.pm

    r1736 r1747  
    60646064sub _hdlr_archive_count { 
    60656065    my $ctx = $_[0]; 
    6066     if ($ctx->{inside_mt_categories}) { 
     6066    my $at = $ctx->{current_archive_type} || $ctx->{archive_type}; 
     6067    my $archiver = MT->publisher->archiver($at); 
     6068    if ($ctx->{inside_mt_categories} && !$archiver->date_based) { 
    60676069        return _hdlr_category_count($ctx); 
    60686070    } elsif (my $count = $ctx->stash('archive_count')) {