Project

General

Profile

« Previous | Next » 

Revision 988

Added by aldus almost 15 years ago

Bugfix for ticket #725 (newsmodul)

View differences:

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