Show
Ignore:
Timestamp:
04/03/08 09:10:13 (20 months ago)
Author:
takayama
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/dipper/lib/MT/Template/ContextHandlers.pm

    r1282 r1748  
    58855885sub _hdlr_archive_count { 
    58865886    my $ctx = $_[0]; 
    5887     if ($ctx->{inside_mt_categories}) { 
     5887    my $at = $ctx->{current_archive_type} || $ctx->{archive_type}; 
     5888    my $archiver = MT->publisher->archiver($at); 
     5889    if ($ctx->{inside_mt_categories} && !$archiver->date_based) { 
    58885890        return _hdlr_category_count($ctx); 
    58895891    } elsif (my $count = $ctx->stash('archive_count')) {