mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
LSerror::getErrors() : fix php warning
This commit is contained in:
parent
1ee9e8aa08
commit
247f4c66e4
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue