diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php index 20ce2c6..667380e 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php @@ -80,8 +80,7 @@ if (checkSession()) { $default->log->info("checkOutDocumentBL.php fired $count subscription alerts for checked out document " . $oDocument->getName()); // display checkout success message in the document view page - //controllerRedirect("downloadDocument", "fDocumentID=$fDocumentID&fCheckedOut=1"); - $oPatternCustom->setHtml(getCheckOutPage($oDocument, true)); + controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fCheckedOut=1"); } else { // document update failed @@ -111,7 +110,6 @@ if (checkSession()) { $oPatternCustom->setHtml(renderErrorPage("No document is currently selected for check out")); } - require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); $main->setCentralPayload($oPatternCustom); $main->setFormAction($_SERVER["PHP_SELF"]);