diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index f8c3a01..d13c0ac 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -608,6 +608,11 @@ function theme_comment_block() {
  * Implements hook_node_view().
  */
 function comment_node_view($node, $view_mode) {
+  // Don't augment deleted content types.
+  if (!in_array($node->type, array_keys(node_type_get_types()))) {
+    return;
+  }
+
   $links = array();
 
   if ($node->comment != COMMENT_NODE_HIDDEN) {
