diff --git a/src/includes/class/class.LSerror.php b/src/includes/class/class.LSerror.php
index d901818e..64ee448e 100644
--- a/src/includes/class/class.LSerror.php
+++ b/src/includes/class/class.LSerror.php
@@ -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)."
\n";
+ $txt .= call_user_func_array(array('LSerror', 'formatError'), $error)."
\n";
self :: resetError();
return $txt;
}