diff options
Diffstat (limited to 'plugins/VisitsSummary')
-rw-r--r-- | plugins/VisitsSummary/API.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/VisitsSummary/API.php b/plugins/VisitsSummary/API.php index 8207e23bb6..d6453075a7 100644 --- a/plugins/VisitsSummary/API.php +++ b/plugins/VisitsSummary/API.php @@ -123,9 +123,9 @@ class API extends \Piwik\Plugin\API $table = $this->getSumVisitsLength($idSite, $period, $date, $segment); if (is_object($table)) { $table->filter('ColumnCallbackReplace', - array('sum_visit_length', array($formatter, 'getPrettyTimeFromSeconds'))); + array('sum_visit_length', array($formatter, 'getPrettyTimeFromSeconds'), array(true))); } else { - $table = $formatter->getPrettyTimeFromSeconds($table); + $table = $formatter->getPrettyTimeFromSeconds($table, true); } return $table; } |