Project

General

Profile

« Previous | Next » 

Revision 988

Added by aldus almost 15 years ago

Bugfix for ticket #725 (newsmodul)

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
15-June-2009 Dietrich Roland Pehlke (aldus)
15
# Bugfix for ticket #725
16
+ Add "$wb->strip_slashes" again for backslashes are displayed in the output (view.php).
14 17
14-June-2009 Dietrich Roland Pehlke (aldus)
15 18
# Bugfixes for (ticket #728)
16 19
+ Add additional constant to "install/save.php" to avoid conflikts during
trunk/wb/modules/news/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