Index: workflow.module =================================================================== --- workflow.module (revision 4497) +++ workflow.module (working copy) @@ -470,7 +470,7 @@ * @param int $sid * @return int ID of new state. */ -function workflow_execute_transition($node, $sid, $comment = NULL) { +function workflow_execute_transition($node, $sid, $comment = NULL, $force=false) { global $user; $old_sid = workflow_node_current_state($node); if ($old_sid == $sid) { @@ -1337,7 +1337,7 @@ // still in the state it was when the transition was scheduled. if ($node->_workflow == $row->old_sid) { // Do transition. - workflow_execute_transition($node, $row->sid, $row->comment); + workflow_execute_transition($node, $row->sid, $row->comment, true); watchdog('content', '%type: scheduled transition of %title.', array('%type' => t($node->type), '%title' => $node->title), WATCHDOG_NOTICE, l(t('view'), 'node/'. $node->nid)); $clear_cache = TRUE;