From d8ff9967e6030a3e07885e807cb04e25cb23672c Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 17 Jun 2008 00:52:00 +0000
Subject: [PATCH] - Patch #250729 by R.Muilwijk: fixed typo.

---
 modules/comment/comment.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 56000102c0a9..635f64192c74 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -592,7 +592,7 @@ function comment_nodeapi(&$node, $op, $arg = 0) {
       if ($node->comment != COMMENT_NODE_DISABLED) {
         return db_fetch_array(db_query("SELECT last_comment_timestamp, last_comment_name, comment_count FROM {node_comment_statistics} WHERE nid = %d", $node->nid));
       }
-      return array('last_comment_timestamp' => $node->created, 'last_comment_name' => '', 'commenet_count' => 0);
+      return array('last_comment_timestamp' => $node->created, 'last_comment_name' => '', 'comment_count' => 0);
 
     case 'prepare':
       if (!isset($node->comment)) {
-- 
GitLab