mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 19:54:46 +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;
|
return true;
|
||||||
if($type)
|
if($type)
|
||||||
$class = "$type.$class";
|
$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;
|
return true;
|
||||||
if ($warn)
|
if ($warn)
|
||||||
LSerror :: addErrorCode('LSsession_05', $class);
|
LSerror :: addErrorCode('LSsession_05', $class);
|
||||||
|
|
Loading…
Reference in a new issue