Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2009-06-24 08:29:22 +0400
committerrobocoder <anthon.pang@gmail.com>2009-06-24 08:29:22 +0400
commit726bf9b594de50fc52924b5fe1ba23baf5bcfbce (patch)
treeff977517145fc4463e94d913e34873378ff3a0e0 /core/ErrorHandler.php
parentb3da4d8bcf7c29993835d2a47e855e8c0f5f53be (diff)
refs #821 - revised patch
git-svn-id: http://dev.piwik.org/svn/trunk@1250 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ErrorHandler.php')
-rw-r--r--core/ErrorHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ErrorHandler.php b/core/ErrorHandler.php
index d8f9ad2589..edbf2550cf 100644
--- a/core/ErrorHandler.php
+++ b/core/ErrorHandler.php
@@ -34,7 +34,7 @@ function Piwik_ErrorHandler($errno, $errstr, $errfile, $errline)
ob_end_clean();
try {
- Zend_Registry::get('logger_error')->log_error($errno, $errstr, $errfile, $errline, $backtrace);
+ Zend_Registry::get('logger_error')->logEvent($errno, $errstr, $errfile, $errline, $backtrace);
} catch(Exception $e) {
// in case the error occurs before the logger creation, we simply display it
print("<pre>$errstr \nin '$errfile' at the line $errline\n\n$backtrace\n</pre>");