Commit 12afbc3577049cf2b72146ea6b48d7017b019a85

Authored by michael
1 parent 18d689f7

#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");