Index: template.php
===================================================================
--- template.php	(revision 12716)
+++ template.php	(working copy)
@@ -1347,8 +1347,6 @@
 		$post_ids[] = $a_post->ID;
 
 	$comment_pending_count = get_pending_comments_num($post_ids);
-	if ( empty($comment_pending_count) )
-		$comment_pending_count = array();
 
 	foreach ( $posts as $post ) {
 		if ( empty($comment_pending_count[$post->ID]) )
