From af5d421e6fe64c6debfe7e56ddb0a692d8cdcf4a Mon Sep 17 00:00:00 2001 From: mattab Date: Tue, 18 Feb 2014 15:46:17 +1300 Subject: [PATCH] Display timer correctly in tracker debug --- piwik.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piwik.php b/piwik.php index 263b3b0de73..b83292a63e7 100644 --- a/piwik.php +++ b/piwik.php @@ -12,7 +12,7 @@ use Piwik\Timer; use Piwik\Tracker; -$GLOBALS['PIWIK_TRACKER_DEBUG'] = false; +$GLOBALS['PIWIK_TRACKER_DEBUG'] = !false; $GLOBALS['PIWIK_TRACKER_DEBUG_FORCE_SCHEDULED_TASKS'] = false; define('PIWIK_ENABLE_TRACKING', true); @@ -110,6 +110,6 @@ ob_end_flush(); if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) { Common::printDebug($_COOKIE); - Common::printDebug($timer); + Common::printDebug((string)$timer); } }