do not ask for approver/reviewer if workflow is turned of completely

This commit is contained in:
Uwe Steinmann 2020-01-16 13:08:22 +01:00
parent f1599906d0
commit 905adbe6ba

View File

@ -349,7 +349,7 @@ console.log(element);
);
}
$this->warningMsg(getMLText("add_doc_workflow_warning"));
} else {
} elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
$docAccess = $document->getReadAccessList($enableadminrevapp, $enableownerrevapp);
if($workflowmode == 'traditional') {
$this->contentSubHeading(getMLText("assign_reviewers"));