diff --git a/sites/all/modules/workbench_moderation/workbench_moderation.module b/sites/all/modules/workbench_moderation/workbench_moderation.module index b0d5e23b2953f6272dafc108e190108a58cbb36d..a4af935235e64b2f695a7d206303eda1f3158383 100644 --- a/sites/all/modules/workbench_moderation/workbench_moderation.module +++ b/sites/all/modules/workbench_moderation/workbench_moderation.module @@ -660,11 +660,13 @@ function workbench_moderation_node_presave($node) { else { $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; - } } + /* START UNL CHANGE */ + 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; + } + /* END UNL CHANGE */ } /**