Selaa lähdekoodia

Fixed Issue 58

pecesama 17 vuotta sitten
vanhempi
commit
1992a777be
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      index.php

+ 1 - 1
index.php Näytä tiedosto

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
 					}