Explorar el Código

Fixed Issue 58

pecesama hace 17 años
padre
commit
1992a777be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      index.php

+ 1 - 1
index.php Ver fichero

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
 					}