Skip to content
Snippets Groups Projects
Commit 1a1e419b authored by Andy Kirkham's avatar Andy Kirkham
Browse files

Move the status update to after node_submit()

parent 669724fa
No related branches found
No related tags found
No related merge requests found
......@@ -233,7 +233,7 @@ function scheduler_cron() {
}
$n = node_submit($n);
$n->status = 1;
node_save(node_submit($n));
node_save($n);
//if this node is not to be unpublished, then we can delete the record
if ($n->unpublish_on == 0) {
......
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