/[drupal]/drupal/modules/comment/comment.module
ViewVC logotype

Diff of /drupal/modules/comment/comment.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.636, Sat Jun 14 16:02:49 2008 UTC revision 1.637, Tue Jun 17 00:52:00 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: comment.module,v 1.635 2008/06/09 07:07:36 dries Exp $  // $Id: comment.module,v 1.636 2008/06/14 16:02:49 dries Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 592  function comment_nodeapi(&$node, $op, $a Line 592  function comment_nodeapi(&$node, $op, $a
592        if ($node->comment != COMMENT_NODE_DISABLED) {        if ($node->comment != COMMENT_NODE_DISABLED) {
593          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 db_fetch_array(db_query("SELECT last_comment_timestamp, last_comment_name, comment_count FROM {node_comment_statistics} WHERE nid = %d", $node->nid));
594        }        }
595        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);
596    
597      case 'prepare':      case 'prepare':
598        if (!isset($node->comment)) {        if (!isset($node->comment)) {

Legend:
Removed from v.1.636  
changed lines
  Added in v.1.637

  ViewVC Help
Powered by ViewVC 1.1.2