LSerror::getErrors() : fix php warning

This commit is contained in:
Benjamin Renard 2012-09-02 19:49:34 +02:00
parent 1ee9e8aa08
commit 247f4c66e4

View file

@ -114,6 +114,7 @@ class LSerror {
*/
public static function getErrors() {
if(!empty($_SESSION['LSerror'])) {
$txt='';
foreach ($_SESSION['LSerror'] as $error) {
$txt.=self::getError($error)."<br />\n";
}