Skip to content
Snippets Groups Projects
Commit bc5bc63a authored by milesw's avatar milesw Committed by Chris Leppanen
Browse files

Issue #1300500 by milesw | derekwormdahl: Fixed Not loading node status in...

Issue #1300500 by milesw | derekwormdahl: Fixed Not loading node status in FeedsNodeProcessor.inc is causing issue with Content Access module.
parent b91cea86
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -55,7 +55,7 @@ class FeedsNodeProcessor extends FeedsProcessor {
} }
else { else {
// We're replacing the existing node. Only save the absolutely necessary. // We're replacing the existing node. Only save the absolutely necessary.
$node = db_query("SELECT created, nid, vid, type FROM {node} WHERE nid = :nid", array(':nid' => $nid))->fetchObject(); $node = db_query("SELECT created, nid, vid, type, status FROM {node} WHERE nid = :nid", array(':nid' => $nid))->fetchObject();
$node->uid = $this->config['author']; $node->uid = $this->config['author'];
} }
node_object_prepare($node); node_object_prepare($node);
......
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