diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 8bc24643d..aa47a82b1 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -636,7 +636,11 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { $this->contentContainerstart(); print "\n"; - if ($workflowmode != 'traditional_only_approval' && is_array($reviewStatus) && count($reviewStatus)>0) { + /* Just check fo an exting reviewStatus, even workflow mode is set + * to traditional_only_approval. There may be old documents which + * are still in S_DRAFT_REV. + */ + if (/*$workflowmode != 'traditional_only_approval' &&*/ is_array($reviewStatus) && count($reviewStatus)>0) { print "
\n"; $this->contentSubHeading(getMLText("reviewers")); @@ -772,7 +776,12 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { ?>
getReviewStatus(10) /*$workflowmode != 'traditional_only_approval'*/) { ?>
printProtocol($latestContent, 'review'); ?>