Changeset 1767

Show
Ignore:
Timestamp:
04/04/08 03:52:21 (5 months ago)
Author:
takayama
Message:

Fixed BugId:75148
* Changed to use isset function

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dipper/php/lib/function.mtarchivecount.php

    r1751 r1767  
    1414        $archiver = $_archivers[$at]; 
    1515    } 
    16     if ((!$archiver && $ctx->stash('inside_mt_categories')) || 
     16    if ((!isset($archiver) && $ctx->stash('inside_mt_categories')) || 
    1717        ($ctx->stash('inside_mt_categories') && !$archiver->is_date_based())) { 
    1818        return $ctx->tag('MTCategoryCount', $args); 
     
    2525        $eargs['blog_id'] = $ctx->stash('blog_id'); 
    2626        if ($at) { 
    27             require_once("archive_lib.php"); 
    2827            $ts = $ctx->stash('current_timestamp'); 
    2928            $tse = $ctx->stash('current_timestamp_end');