From b60571df0f816cbdf1743b8c693b3b68df0e6718 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 20 Jun 2003 09:11:24 +0000 Subject: [PATCH] changed redirect to controllerRedirect --- presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php index 9d9691f..b6d37b1 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php @@ -59,9 +59,9 @@ if (checkSession()) { //on successful update, redirect to the view page if (isset($fFirstEdit)) { - redirect("$default->rootUrl/control.php?action=modifyDocumentGenericMetaData&fDocumentID=" . $oDocument->getID() . "&fFirstEdit=1"); + controllerRedirect("modifyDocumentGenericMetaData", "fDocumentID=" . $oDocument->getID() . "&fFirstEdit=1"); } else { - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=" . $oDocument->getID()); + controllerRedirect("viewDocument", "fDocumentID=" . $oDocument->getID()); } } else { //display the update page with an error message -- libgit2 0.21.4