diff --git a/public_html/includes/class/class.LSerror.php b/public_html/includes/class/class.LSerror.php
index d9ed63c3..d1d03e9c 100644
--- a/public_html/includes/class/class.LSerror.php
+++ b/public_html/includes/class/class.LSerror.php
@@ -114,7 +114,7 @@ class LSerror {
public static function getErrors() {
if(!empty($_SESSION['LSerror'])) {
foreach ($_SESSION['LSerror'] as $error) {
- $txt.=self::getError($error);
+ $txt.=self::getError($error)."
\n";
}
self::resetError();
return $txt;
@@ -130,7 +130,7 @@ class LSerror {
* @retvat string Le texte des erreurs
*/
private static function getError($error) {
- return "(Code ".$error[0].") ".getFData(self :: $_errorCodes[$error[0]]['msg'],$error[1])."
\n";
+ return "(Code ".$error[0].") ".getFData(self :: $_errorCodes[$error[0]]['msg'],$error[1]);
}
/**