Revision 988
Added by aldus over 15 years ago
view.php | ||
---|---|---|
349 | 349 |
if($query_comments->numRows() > 0) { |
350 | 350 |
while($comment = $query_comments->fetchRow()) { |
351 | 351 |
// Display Comments without slashes, but with new-line characters |
352 |
$comment['comment'] = nl2br(($comment['comment'])); |
|
353 |
$comment['title'] = ($comment['title']); |
|
352 |
$comment['comment'] = nl2br($wb->strip_slashes($comment['comment']));
|
|
353 |
$comment['title'] = $wb->strip_slashes($comment['title']);
|
|
354 | 354 |
// Print comments loop |
355 | 355 |
$commented_date = gmdate(DATE_FORMAT, $comment['commented_when']+TIMEZONE); |
356 | 356 |
$commented_time = gmdate(TIME_FORMAT, $comment['commented_when']+TIMEZONE); |
Also available in: Unified diff
Bugfix for ticket #725 (newsmodul)