Commit 0a13d56716ee0adbe5c0efead2017216af249be1

Authored by Michael Joseph
1 parent cf161060

changed redirect to controllerRedirect


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2205 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php
... ... @@ -59,9 +59,9 @@ if (checkSession()) {
59 59  
60 60 //on successful update, redirect to the view page
61 61 if (isset($fFirstEdit)) {
62   - redirect("$default->rootUrl/control.php?action=modifyDocumentGenericMetaData&fDocumentID=" . $oDocument->getID() . "&fFirstEdit=1");
  62 + controllerRedirect("modifyDocumentGenericMetaData", "fDocumentID=" . $oDocument->getID() . "&fFirstEdit=1");
63 63 } else {
64   - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=" . $oDocument->getID());
  64 + controllerRedirect("viewDocument", "fDocumentID=" . $oDocument->getID());
65 65 }
66 66 } else {
67 67 //display the update page with an error message
... ...