From 1b8d363ccc9503ef9e9b9ab9da9579741f854e61 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 22 Apr 2011 14:30:04 +0200 Subject: [PATCH] LSerror : Added LSlog() call on addErrorCode() method --- public_html/includes/class/class.LSerror.php | 1 + 1 file changed, 1 insertion(+) 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))); } /**