diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php index 1f9a355..990632e 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php @@ -269,6 +269,9 @@ if (checkSession()) { // and ordinary users to request that the document be restored $oPatternCustom->setHtml(getRequestRestoreDocumentPage($oDocument)); } + } else { + $oPatternCustom->setHtml("graphicsUrl/widgets/back.gif\" border=\"0\" />\n"); + $main->setErrorMessage("The document you have chosen no longer exists in the DMS."); } $main->setCentralPayload($oPatternCustom); $main->setFormAction("$default->rootUrl/control.php?action=modifyDocument&fDocumentID=" . $oDocument->getID());