Commit 1503b834a141354d00a8002b67b137634577a4a9

Authored by omar
1 parent cacdecd6

Fixed wording bug (on error)


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2067 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/discussions/addCommentBL.php
@@ -97,7 +97,7 @@ if (checkSession()) { @@ -97,7 +97,7 @@ if (checkSession()) {
97 }// End Of if for THREAD ID test 97 }// End Of if for THREAD ID test
98 98
99 }else { // the user has not entered BOTH a subject and a text body 99 }else { // the user has not entered BOTH a subject and a text body
100 - $main->setErrorMessage("The subject line and/or body may be empty" . $NewCommentSubject . "#" . $NewComment); 100 + $main->setErrorMessage("The subject line and/or body should not be empty.");
101 $main->setFormAction($_SERVER['PHP_SELF'] . "?fAddCommentSubmit=1&iDocumentID=$fDocumentID"); 101 $main->setFormAction($_SERVER['PHP_SELF'] . "?fAddCommentSubmit=1&iDocumentID=$fDocumentID");
102 $oPatternCustom->addHtml(getAddComment($fDocumentID,$_POST["NewCommentSubject"],$_POST["NewComment"], $fCommentID, 1)); 102 $oPatternCustom->addHtml(getAddComment($fDocumentID,$_POST["NewCommentSubject"],$_POST["NewComment"], $fCommentID, 1));
103 } // end of IF for Subject and Body test 103 } // end of IF for Subject and Body test