Implements hook_node_prepare().
function comment_node_prepare($node) { if (!isset($node->comment)) { $node->comment = variable_get("comment_{$node->type}", COMMENT_NODE_OPEN); } }