diff --git a/plugins/FeedsNodeProcessor.inc b/plugins/FeedsNodeProcessor.inc index 53caa50c1dedc0af3be081485c9e79d0d2ced69b..2a185dbbdefc823ba36ff161d796fe910534f26d 100644 --- a/plugins/FeedsNodeProcessor.inc +++ b/plugins/FeedsNodeProcessor.inc @@ -55,7 +55,7 @@ class FeedsNodeProcessor extends FeedsProcessor { } else { // 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_object_prepare($node);