From 1d01a4a16f80e608b62ae242bda36a2284f39c3c Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Thu, 28 Jan 2010 19:52:34 +0000
Subject: [PATCH] Make sure created is populated, otherwise
 node_object_prepare() will throw a notice.

---
 plugins/FeedsNodeProcessor.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/FeedsNodeProcessor.inc b/plugins/FeedsNodeProcessor.inc
index 01220408..949383c7 100644
--- a/plugins/FeedsNodeProcessor.inc
+++ b/plugins/FeedsNodeProcessor.inc
@@ -46,6 +46,7 @@ class FeedsNodeProcessor extends FeedsProcessor {
 
         // Populate and prepare node object.
         $node->type = $this->config['content_type'];
+        $node->created = FEEDS_REQUEST_TIME;
         $node->feeds_node_item = new stdClass();
         $node->feeds_node_item->hash = $hash;
         $node->feeds_node_item->id = $this->id;
-- 
GitLab