diff --git a/public_html/includes/class/class.LSerror.php b/public_html/includes/class/class.LSerror.php
index d1d03e9c..a7ea6985 100644
--- a/public_html/includes/class/class.LSerror.php
+++ b/public_html/includes/class/class.LSerror.php
@@ -64,6 +64,7 @@ class LSerror {
*/
public static function addErrorCode($code=-1,$msg='') {
$_SESSION['LSerror'][] = array($code,$msg);
+ LSlog('[ERROR] '.self::getError(array($code,$msg)));
}
/**