From 28d75a8663f58b3e1a95ed02a4ceef7edc5abdf4 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 13 May 2003 11:24:49 +0000 Subject: [PATCH] added missing rootUrl to form action --- presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php b/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php index c6d3296..0604ba7 100644 --- a/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php +++ b/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php @@ -63,7 +63,7 @@ if(checkSession()) { if (isset($iCommentID)) { // Check if a comment ID exists $oComment = DiscussionComment::get($iCommentID); $oUser = User::get($oComment->getUserID()); - $main->setFormAction("/presentation/lookAndFeel/knowledgeTree/discussions/addCommentBL.php?fDocumentID=$iDocumentID&fCommentID=$iCommentID&fReplyComment=1"); + $main->setFormAction("$default->rootUrl/presentation/lookAndFeel/knowledgeTree/discussions/addCommentBL.php?fDocumentID=$iDocumentID&fCommentID=$iCommentID&fReplyComment=1"); $oPatternCustom->setHtml(getCommentBody($oComment,$iDocumentID,$oUser)) ; } }else { // If no discussion exists -- libgit2 0.21.4