LSerror: fix PHP error

This commit is contained in:
Benjamin Renard 2020-08-06 16:44:18 +02:00
parent 14f28a1ec0
commit ba85e5c2fc

View file

@ -127,7 +127,7 @@ class LSerror {
if(!empty($_SESSION['LSerror'])) {
$txt = '';
foreach ($_SESSION['LSerror'] as $error)
$txt .= call_user_func_array(array(self, 'formatError'), $error)."<br />\n";
$txt .= call_user_func_array(array('LSerror', 'formatError'), $error)."<br />\n";
self :: resetError();
return $txt;
}