From d1fbdbca9d42894619280519a6cafa105875f2ad Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 23 Jun 2003 15:02:10 +0000 Subject: [PATCH] show appropriate document details sections on deletion --- presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php index 3ac6397..77f839a 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php @@ -30,7 +30,7 @@ if (checkSession()) { //deleting a document link $oDocumentLink = DocumentLink::get($fDocumentLinkID); if ($oDocumentLink->delete()) { - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=$fParentDocumentID"); + controllerRedirect("viewDocument", "fDocumentID=$fParentDocumentID&fShowSection=linkedDocuments"); } else { //an error occured whilst trying to delete the document link require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); -- libgit2 0.21.4