From d1a8546f1f560eb0cd3d8a488e74ba01be4f9ef7 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 17 Oct 2019 07:18:51 +0200 Subject: [PATCH] fix comment --- SeedDMS_Core/Core/inc.ClassDocument.php | 1 + 1 file changed, 1 insertion(+) diff --git a/SeedDMS_Core/Core/inc.ClassDocument.php b/SeedDMS_Core/Core/inc.ClassDocument.php index 382de8d61..95be4c001 100644 --- a/SeedDMS_Core/Core/inc.ClassDocument.php +++ b/SeedDMS_Core/Core/inc.ClassDocument.php @@ -2817,6 +2817,7 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */ } } + /* First check for a running workflow, review, approval. */ if ($hasworkflow) $this->setStatus(S_IN_WORKFLOW,$msg,$user); elseif ($pendingReview) $this->setStatus(S_DRAFT_REV,$msg,$user); elseif ($pendingApproval) $this->setStatus(S_DRAFT_APP,$msg,$user);