diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkBL.php index e75031e..72b52da 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkBL.php @@ -31,7 +31,7 @@ if (checkSession()) { //create a new document link $oDocumentLink = & new DocumentLink($fDocumentID, $fTargetDocumentID); if ($oDocumentLink->create()) { - redirect($default->rootUrl . "/control.php?action=viewDocument&fDocumentID=$fDocumentID"); + controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fShowSection=linkedDocuments"); } else { require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); //an error occured while trying to create the document link