Commit c1099920598083c7370a27dded1efb469f3e5aaf

Authored by Michael Joseph
1 parent a3a523b6

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()) {