Changeset 1750

Show
Ignore:
Timestamp:
04/03/08 09:38:50 (23 months ago)
Author:
takayama
Message:

Fixed BugId:75148
* oops CategoryArchiver is never not found

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/php/lib/function.mtarchivecount.php

    r1747 r1750  
    1414        $archiver = $_archivers[$at]; 
    1515    } 
    16     if ($ctx->stash('inside_mt_categories') && !$archiver->is_date_based()) { 
     16    if ((!$archiver && $ctx->stash('inside_mt_categories')) || 
     17        ($ctx->stash('inside_mt_categories') && !$archiver->is_date_based())) { 
    1718        return $ctx->tag('MTCategoryCount', $args); 
    1819    } elseif ($count = $ctx->stash('archive_count')) {