Commit 337d88afcc9d7dd6a876834ac3d02ec2dbf7e63d
1 parent
f3c3a68c
updated to use document status constants
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2135 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/manageArchivedDocumentsBL.php
| ... | ... | @@ -68,7 +68,7 @@ if (checkSession()) { |
| 68 | 68 | if ($aDocuments[$i]) { |
| 69 | 69 | |
| 70 | 70 | // set the status to live |
| 71 | - $aDocuments[$i]->setStatusID(lookupStatusID("Live")); | |
| 71 | + $aDocuments[$i]->setStatusID(LIVE); | |
| 72 | 72 | if ($aDocuments[$i]->update()) { |
| 73 | 73 | // success |
| 74 | 74 | $default->log->info("manageArchivedDocumentsBL.php set status for document id=" . $fDocumentIDs[$i]); | ... | ... |