Commit 28d75a8663f58b3e1a95ed02a4ceef7edc5abdf4

Authored by michael
1 parent 3a7e1aa7

added missing rootUrl to form action


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1817 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php
@@ -63,7 +63,7 @@ if(checkSession()) { @@ -63,7 +63,7 @@ if(checkSession()) {
63 if (isset($iCommentID)) { // Check if a comment ID exists 63 if (isset($iCommentID)) { // Check if a comment ID exists
64 $oComment = DiscussionComment::get($iCommentID); 64 $oComment = DiscussionComment::get($iCommentID);
65 $oUser = User::get($oComment->getUserID()); 65 $oUser = User::get($oComment->getUserID());
66 - $main->setFormAction("/presentation/lookAndFeel/knowledgeTree/discussions/addCommentBL.php?fDocumentID=$iDocumentID&fCommentID=$iCommentID&fReplyComment=1"); 66 + $main->setFormAction("$default->rootUrl/presentation/lookAndFeel/knowledgeTree/discussions/addCommentBL.php?fDocumentID=$iDocumentID&fCommentID=$iCommentID&fReplyComment=1");
67 $oPatternCustom->setHtml(getCommentBody($oComment,$iDocumentID,$oUser)) ; 67 $oPatternCustom->setHtml(getCommentBody($oComment,$iDocumentID,$oUser)) ;
68 } 68 }
69 }else { // If no discussion exists 69 }else { // If no discussion exists