diff options
author | robocoder <anthon.pang@gmail.com> | 2011-05-07 23:29:35 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2011-05-07 23:29:35 +0400 |
commit | 19b909b54ccd19592ffe104ce8f5fbf2241df99a (patch) | |
tree | 91466d030180deafe2197b6ad9f1cd9cccc79692 /core/ErrorHandler.php | |
parent | 3d707d345b41e737bf8905afb9c4a7b1a209510a (diff) |
refs #2409
git-svn-id: http://dev.piwik.org/svn/trunk@4655 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ErrorHandler.php')
-rw-r--r-- | core/ErrorHandler.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/ErrorHandler.php b/core/ErrorHandler.php index 2327517d1b..0bddd55956 100644 --- a/core/ErrorHandler.php +++ b/core/ErrorHandler.php @@ -42,9 +42,10 @@ function Piwik_ErrorHandler($errno, $errstr, $errfile, $errline) $backtrace .= "#$i " .(isset($debug['class']) ? $debug['class'] : '') .(isset($debug['type']) ? $debug['type'] : '') - .$debug['function'] - .'('.$args.') called at ['.$debug['file'] - .':'.$debug['line'].']'."\n"; + .(isset($debug['function']) ? $debug['function'] : '') + .'('.$args.') called at [' + .(isset($debug['file']) ? $debug['file'] : '').':' + .(isset($debug['line']) ? $debug['line'] : '').']'."\n"; } } |