mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
LSsession :: loadLSclass(): respect $warn parameter on includeFile() call
This commit is contained in:
parent
16aa789b21
commit
7153356a24
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ class LSsession {
|
|||
return true;
|
||||
if($type)
|
||||
$class = "$type.$class";
|
||||
if (self :: includeFile(LS_CLASS_DIR .'class.'.$class.'.php'))
|
||||
if (self :: includeFile(LS_CLASS_DIR .'class.'.$class.'.php', false, $warn))
|
||||
return true;
|
||||
if ($warn)
|
||||
LSerror :: addErrorCode('LSsession_05', $class);
|
||||
|
|
Loading…
Reference in a new issue