Commit 711ff557a7377a378240fe3627269334a41268d0

Authored by michael
1 parent 43d12268

corrected web publishing check


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1540 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
@@ -189,7 +189,7 @@ function getEditPage($oDocument) { @@ -189,7 +189,7 @@ function getEditPage($oDocument) {
189 $sToRender .= "\t\t</tr></table></td>\n"; 189 $sToRender .= "\t\t</tr></table></td>\n";
190 } 190 }
191 191
192 - if (Document::documentIsPendingWebPublishing($iDocumentID)) { 192 + if (!Document::documentIsPendingWebPublishing($iDocumentID)) {
193 // only display for unpublished documents 193 // only display for unpublished documents
194 // if there is collaboration 194 // if there is collaboration
195 if ($oDocument->hasCollaboration()) { 195 if ($oDocument->hasCollaboration()) {