From 7153356a248c6d353a3d5f1ed85c3b9dcb3071e4 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 7 May 2020 11:19:36 +0200 Subject: [PATCH] LSsession :: loadLSclass(): respect $warn parameter on includeFile() call --- src/includes/class/class.LSsession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSsession.php b/src/includes/class/class.LSsession.php index 0fa6e3d2..d65bcf3a 100644 --- a/src/includes/class/class.LSsession.php +++ b/src/includes/class/class.LSsession.php @@ -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);