Fixing upgrade problems.

This commit is contained in:
JT Smith 2002-11-04 05:40:09 +00:00
parent 0e8bbc823c
commit 1b9565f06c
4 changed files with 7 additions and 7 deletions

View file

@ -464,7 +464,6 @@ sub showReplyTree {
'</td><td class="tableHeader">'.WebGUI::International::get(245).'</td></tr>';
@data = WebGUI::SQL->quickArray("select messageId,subject,username,dateOfPost,userId,status
from discussion where messageId=$message{rid}");
$data[1] = WebGUI::HTML::filter($data[1],'all');
$html .= '<tr';
if ($session{form}{mid} eq $message{rid}) {
$html .= ' class="highlight"';

View file

@ -1249,7 +1249,7 @@ sub www_showMessage {
($defaultMid) = WebGUI::SQL->quickArray("select min(messageId) from discussion where wobjectId=".$_[0]->get("wobjectId"));
$session{form}{mid} = $session{form}{mid} || $defaultMid || 0;
$output = WebGUI::Discussion::showMessage($_[1],$_[0]);
$output .= WebGUI::Discussion::showThreads();
$output .= WebGUI::Discussion::showReplyTree();
return $output;
}