mailhandler.retrieve.inc has some code in global scope -- looks like a typo.

/**
 * Create the node.
 */
  // handle defaults for node creation (e.g. comment | promote | moderate | sticky fields)
  $node_blog_default = variable_get('node_options_blog', array('status', 'promote'));
  $node->status = in_array('status', $node_blog_default);
  $node->promote = in_array('promote', $node_blog_default);
  $node->moderate = in_array('moderate', $node_blog_default);
  $node->revision = in_array('revision', $node_blog_default);
  $node->comment = variable_get('comment_blog', 2);
function mailhandler_node_submit($node, $header, $mailbox, $origbody) {

Comments

moshe weitzman’s picture

Status: Active » Fixed

removed. thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

paulbhartzog’s picture

This exists in 5 as well

comment_blog does not work. all new nodes created by email have comments disabled, despite drupal defaults.

z.stolar’s picture