fix comment

This commit is contained in:
Uwe Steinmann 2019-10-17 07:18:51 +02:00
parent f2e7063a56
commit d1a8546f1f

View File

@ -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);