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:
-rw-r--r--core/ErrorHandler.php7
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";
}
}