--- /tmp/o35Qfb_commentsblock.module
+++ /home/lsolesen/workspace/commentsblock/commentsblock.module
@@ -147,7 +147,7 @@
 function comment_block_static_comments($nid, $build = false, $node = false) {
   $comments = &drupal_static(__FUNCTION__);
 
-  if ($build) {
+  if (isset($build['comments'])) {
     //would add $links above the comments title. Useful?
     //$comments[$nid]['links'] = $build['links']['comment'];
     $comments[$nid]['comments'] = $build['comments'];
