diff options
-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"; } } |