Commit b60571df0f816cbdf1743b8c693b3b68df0e6718
1 parent
2d239dfa
changed redirect to controllerRedirect
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2205 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
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 | ... | ... |