Skip to content
Snippets Groups Projects
Commit 1d01a4a1 authored by Alex Barth's avatar Alex Barth
Browse files

Make sure created is populated, otherwise node_object_prepare() will throw a notice.

parent f6c3f2f2
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,7 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -46,6 +46,7 @@ class FeedsNodeProcessor extends FeedsProcessor {
// Populate and prepare node object. // Populate and prepare node object.
$node->type = $this->config['content_type']; $node->type = $this->config['content_type'];
$node->created = FEEDS_REQUEST_TIME;
$node->feeds_node_item = new stdClass(); $node->feeds_node_item = new stdClass();
$node->feeds_node_item->hash = $hash; $node->feeds_node_item->hash = $hash;
$node->feeds_node_item->id = $this->id; $node->feeds_node_item->id = $this->id;
......
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