Closed (fixed)
Project:
Mailhandler
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2008 at 06:11 UTC
Updated:
8 Dec 2008 at 21:36 UTC
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
Comment #1
moshe weitzman commentedremoved. thanks.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
paulbhartzog commentedThis exists in 5 as well
comment_blog does not work. all new nodes created by email have comments disabled, despite drupal defaults.
Comment #4
z.stolar commented@paulbhartzog: see http://drupal.org/node/334775