Index: /branches/dipper/php/lib/function.mtarchivecount.php
===================================================================
--- /branches/dipper/php/lib/function.mtarchivecount.php (revision 1751)
+++ /branches/dipper/php/lib/function.mtarchivecount.php (revision 1767)
@@ -14,5 +14,5 @@
         $archiver = $_archivers[$at];
     }
-    if ((!$archiver && $ctx->stash('inside_mt_categories')) ||
+    if ((!isset($archiver) && $ctx->stash('inside_mt_categories')) ||
         ($ctx->stash('inside_mt_categories') && !$archiver->is_date_based())) {
         return $ctx->tag('MTCategoryCount', $args);
@@ -25,5 +25,4 @@
         $eargs['blog_id'] = $ctx->stash('blog_id');
         if ($at) {
-            require_once("archive_lib.php");
             $ts = $ctx->stash('current_timestamp');
             $tse = $ctx->stash('current_timestamp_end');
