Browse Source

Fixed Issue 58

pecesama 16 years ago
parent
commit
1992a777be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.php

+ 1 - 1
index.php View File

294
 						$answers['Id_Comment'] = $rowComment["id_comment"];
294
 						$answers['Id_Comment'] = $rowComment["id_comment"];
295
 						$answers['Comment_Author'] = $commentAuthor;
295
 						$answers['Comment_Author'] = $commentAuthor;
296
 						$answers['Date'] = gmdate("d.m.y", strtotime($rowComment["comment_date"])+transform_offset($conf->offsetTime));
296
 						$answers['Date'] = gmdate("d.m.y", strtotime($rowComment["comment_date"])+transform_offset($conf->offsetTime));
297
-						$answers['Comment'] = $rowComment["content"];
297
+						$answers['Comment'] = nl2br($rowComment["content"]);
298
 
298
 
299
 						$comments[] = $answers;
299
 						$comments[] = $answers;
300
 					}
300
 					}