Commit d6eb2f0f522e91f50a027156fb2dadbca6b315ea

Authored by Michael Joseph
1 parent bd9890a8

changed links to use getControllerLink function and incorporated showing a parti…

…cular section on the document details page


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2212 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/addArchiveSettingsBL.php
@@ -34,7 +34,7 @@ if (checkSession()) { @@ -34,7 +34,7 @@ if (checkSession()) {
34 34
35 if ($oDASFactory->create($fDocumentID, $fExpirationDate, $fDocumentTransactionID, $fTimeUnitID, $fUnits)) { 35 if ($oDASFactory->create($fDocumentID, $fExpirationDate, $fDocumentTransactionID, $fTimeUnitID, $fUnits)) {
36 // created, redirect to view page 36 // created, redirect to view page
37 - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=$fDocumentID"); 37 + controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fShowSection=archiveSettings");
38 } else { 38 } else {
39 // error 39 // error
40 $default->log->error("addArchiveSettingsBL.php error adding archive settings"); 40 $default->log->error("addArchiveSettingsBL.php error adding archive settings");