From 6daff97ec9d23a5ad79e74d355aed3ef1c832d82 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 1 Aug 2003 12:34:13 +0000 Subject: [PATCH] (#2806) correct condition for publish button showing --- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index e0747dd..39a082f 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -460,7 +460,7 @@ function displayDependantDocumentButton($oDocument, $bEdit) { function displayPublishButton($oDocument, $bEdit) { // only display the publish button for unpublished documents - if (!DocumentCollaboration::documentIsPendingWebPublishing($oDocument->getID())) { + if (DocumentCollaboration::documentIsPendingWebPublishing($oDocument->getID())) { // if there is collaboration if ($oDocument->hasCollaboration()) { // only display publish button if collaboration is complete and you're the last user in the collaboration process (or a sysadmin) -- libgit2 0.21.4