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:
authorThomas Steur <thomas.steur@gmail.com>2015-08-19 13:59:52 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-08-19 13:59:52 +0300
commit496bbbd15239c6cfa160679b2aa51cefa55b6fdb (patch)
treec75f2c771196863ef5987acd9feca062556a669f /plugins/Monolog
parent763d19b594ff4e1aec4785e0816f7d57114c3a82 (diff)
tracker debug config might be not set, avoid a warning
Diffstat (limited to 'plugins/Monolog')
-rw-r--r--plugins/Monolog/config/tracker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Monolog/config/tracker.php b/plugins/Monolog/config/tracker.php
index a1220a7682..22e06bb1f1 100644
--- a/plugins/Monolog/config/tracker.php
+++ b/plugins/Monolog/config/tracker.php
@@ -6,7 +6,7 @@ return array(
'Psr\Log\LoggerInterface' => function (ContainerInterface $c) {
$trackerDebug = $c->get("ini.Tracker.debug");
- if ($trackerDebug == 1 || $GLOBALS['PIWIK_TRACKER_DEBUG']) {
+ if ($trackerDebug == 1 || !empty($GLOBALS['PIWIK_TRACKER_DEBUG'])) {
return $c->get('Monolog\Logger');
} else {
return new \Psr\Log\NullLogger();