Commit d8ff9967 authored by Dries's avatar Dries

- Patch #250729 by R.Muilwijk: fixed typo.

parent fcb27eed
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment