Skip to content
Snippets Groups Projects
Commit e872293e authored by young hahn's avatar young hahn
Browse files

Set node language when creating node object.

parent df233bdf
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,7 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -34,6 +34,7 @@ class FeedsNodeProcessor extends FeedsProcessor {
$node->type = $this->config['content_type']; $node->type = $this->config['content_type'];
$node->changed = REQUEST_TIME; $node->changed = REQUEST_TIME;
$node->created = REQUEST_TIME; $node->created = REQUEST_TIME;
$node->language = LANGUAGE_NONE;
node_object_prepare($node); node_object_prepare($node);
// Populate properties that are set by node_object_prepare(). // Populate properties that are set by node_object_prepare().
$node->log = 'Created by FeedsNodeProcessor'; $node->log = 'Created by FeedsNodeProcessor';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment