mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +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() {
|
public static function getErrors() {
|
||||||
if(!empty($_SESSION['LSerror'])) {
|
if(!empty($_SESSION['LSerror'])) {
|
||||||
|
$txt='';
|
||||||
foreach ($_SESSION['LSerror'] as $error) {
|
foreach ($_SESSION['LSerror'] as $error) {
|
||||||
$txt.=self::getError($error)."<br />\n";
|
$txt.=self::getError($error)."<br />\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue