Commit 100cfe22ead1352b3a64bee539c59f1312f8e5de

Authored by Michael Joseph
1 parent 604039c9

#3537 redirect to the right section


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2787 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php
@@ -61,7 +61,7 @@ if (checkSession()) { @@ -61,7 +61,7 @@ if (checkSession()) {
61 $oEmail->send($oUser->getEmail(), "Dependant document creation required", $sBody); 61 $oEmail->send($oUser->getEmail(), "Dependant document creation required", $sBody);
62 } 62 }
63 //go back to the document page you were viewing 63 //go back to the document page you were viewing
64 - redirect($default->rootUrl . "/control.php?action=viewDocument&fDocumentID=$fDocumentID"); 64 + redirect($default->rootUrl . "/control.php?action=viewDocument&fDocumentID=$fDocumentID&fShowSection=linkedDocuments");
65 } else { 65 } else {
66 //dependant document creation failed - display an error message 66 //dependant document creation failed - display an error message
67 require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); 67 require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc");