Fixed some problems where special characters could be used where they shouldn't be. Also fixed a couple of template inconsistencies.

This commit is contained in:
JT Smith 2002-11-04 04:30:21 +00:00
parent 6e9f024c3f
commit 4d3c8cc5a3
6 changed files with 74 additions and 66 deletions

View file

@ -110,7 +110,6 @@ sub www_view {
from discussion where wobjectId=".$_[0]->get("wobjectId")." and pid=0
and (status='Approved' or userId=$session{user}{userId}) order by messageId desc");
while (%data = $sth->hash) {
$data{subject} = WebGUI::Discussion::formatSubject($data{subject});
if ($i >= ($_[0]->get("messagesPerPage")*$pn) && $i < ($_[0]->get("messagesPerPage")*($pn+1))) {
@last = WebGUI::SQL->quickArray("select messageId,dateOfPost,username,subject,userId
from discussion where wobjectId=".$_[0]->get("wobjectId")." and rid=$data{messageId}