diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
index f847ba3..7e8b102 100644
--- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
+++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
@@ -401,7 +401,9 @@ function displayActionButtons($oDocument, $bEdit) {
}
$sToRender .= "
getID() . "&fForDiscussion=1") . "\"> graphicsUrl/widgets/docactions/discussion.gif\" border=\"0\" /> |
\n";
// only display the archive button for available documents
- if (!$oDocument->getIsCheckedOut() && !$oDocument->hasCollaboration() && (!DocumentCollaboration::documentCollaborationStarted($oDocument->getID()))) {
+ // if the document is not checked out
+ // and if the document is not in collaboration
+ if (!$oDocument->getIsCheckedOut() && (!$oDocument->hasCollaboration() || !DocumentCollaboration::documentCollaborationStarted($oDocument->getID()))) {
$sToRender .= "getID()) . "\"> graphicsUrl/widgets/docactions/archive.gif\" border=\"0\" /> |
\n";
} else {
$iDummyButtons++;