From aa5eaa646a531e79072a22b2842d577f15298206 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Fri, 20 Jun 2003 09:38:36 +0000 Subject: [PATCH] changed redirect to controllerRedirect and incorporated showing a particular section on the document details page --- presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/modifyArchiveSettingsBL.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/modifyArchiveSettingsBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/modifyArchiveSettingsBL.php index d9ec3f7..8008c72 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/modifyArchiveSettingsBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/modifyArchiveSettingsBL.php @@ -39,14 +39,14 @@ if (checkSession()) { if ($oDASFactory->update($oDocumentArchiving, $fExpirationDate, $fDocumentTransactionID, $fTimeUnitID, $fUnits)) { $default->log->info("modifyArchiveSettingsBL.php successfully updated archive settings (documentID=$fDocumentID)"); // created, redirect to view page - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=$fDocumentID"); + controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fShowSection=archiveSettings"); } else { $default->log->error("modifyArchiveSettingsBL.php error updating archive settings (documentID=$fDocumentID)"); } } elseif ($fDelete) { if ($oDocumentArchiving->delete()) { $default->log->info("modifyArchiveSettingsBL.php successfully deleted archive settings (documentID=$fDocumentID)"); - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=$fDocumentID"); + controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fShowSection=archiveSettings"); } else { $default->log->error("modifyArchiveSettingsBL.php error deleting archive settings (documentID=$fDocumentID)"); } -- libgit2 0.21.4