Commit 27475ff3f1e568ffdbdc51da67e31b7df1812c11
1 parent
06d6c2cc
changed redirect to controllerRedirect and incorporated showing a particular sec…
…tion on the document details page git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2214 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/modifyArchiveSettingsBL.php
| ... | ... | @@ -39,14 +39,14 @@ if (checkSession()) { |
| 39 | 39 | if ($oDASFactory->update($oDocumentArchiving, $fExpirationDate, $fDocumentTransactionID, $fTimeUnitID, $fUnits)) { |
| 40 | 40 | $default->log->info("modifyArchiveSettingsBL.php successfully updated archive settings (documentID=$fDocumentID)"); |
| 41 | 41 | // created, redirect to view page |
| 42 | - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=$fDocumentID"); | |
| 42 | + controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fShowSection=archiveSettings"); | |
| 43 | 43 | } else { |
| 44 | 44 | $default->log->error("modifyArchiveSettingsBL.php error updating archive settings (documentID=$fDocumentID)"); |
| 45 | 45 | } |
| 46 | 46 | } elseif ($fDelete) { |
| 47 | 47 | if ($oDocumentArchiving->delete()) { |
| 48 | 48 | $default->log->info("modifyArchiveSettingsBL.php successfully deleted archive settings (documentID=$fDocumentID)"); |
| 49 | - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=$fDocumentID"); | |
| 49 | + controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fShowSection=archiveSettings"); | |
| 50 | 50 | } else { |
| 51 | 51 | $default->log->error("modifyArchiveSettingsBL.php error deleting archive settings (documentID=$fDocumentID)"); |
| 52 | 52 | } | ... | ... |