From e872293e289a94a5017551f5b63aa6b40cdc4b1c Mon Sep 17 00:00:00 2001 From: young hahn <yhahn@264833.no-reply.drupal.org> Date: Thu, 16 Dec 2010 19:45:45 +0000 Subject: [PATCH] Set node language when creating node object. --- plugins/FeedsNodeProcessor.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/FeedsNodeProcessor.inc b/plugins/FeedsNodeProcessor.inc index f8151543..17131af5 100644 --- a/plugins/FeedsNodeProcessor.inc +++ b/plugins/FeedsNodeProcessor.inc @@ -34,6 +34,7 @@ class FeedsNodeProcessor extends FeedsProcessor { $node->type = $this->config['content_type']; $node->changed = REQUEST_TIME; $node->created = REQUEST_TIME; + $node->language = LANGUAGE_NONE; node_object_prepare($node); // Populate properties that are set by node_object_prepare(). $node->log = 'Created by FeedsNodeProcessor'; -- GitLab