Commit a4835be4 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

[gh-590] Re-add Workbench patch that was wiped out in 76ffc01a

parent 76ffc01a
......@@ -642,6 +642,10 @@ function workbench_moderation_node_presave($node) {
$node->status = 0;
}
}
if (isset($node->workbench_moderation['updating_live_revision']) && !empty($node->book['bid'])) {
// Book module forces new revision in book_node_presave() that needs to be cancelled.
$node->revision = 0;
}
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment