mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-19 08:39:06 +01:00
LSerror : Added LSlog() call on addErrorCode() method
This commit is contained in:
parent
a53c5c3d92
commit
1b8d363ccc
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ class LSerror {
|
|||
*/
|
||||
public static function addErrorCode($code=-1,$msg='') {
|
||||
$_SESSION['LSerror'][] = array($code,$msg);
|
||||
LSlog('[ERROR] '.self::getError(array($code,$msg)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue