Changeset 1748 for branches/dipper/lib/MT/Template/ContextHandlers.pm
- Timestamp:
- 04/03/08 09:10:13 (20 months ago)
- Files:
-
- 1 modified
-
branches/dipper/lib/MT/Template/ContextHandlers.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/dipper/lib/MT/Template/ContextHandlers.pm
r1282 r1748 5885 5885 sub _hdlr_archive_count { 5886 5886 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) { 5888 5890 return _hdlr_category_count($ctx); 5889 5891 } elsif (my $count = $ctx->stash('archive_count')) {
