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:
Diffstat (limited to 'plugins/Overlay/Controller.php')
-rw-r--r--plugins/Overlay/Controller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Overlay/Controller.php b/plugins/Overlay/Controller.php
index 603047c286..d55ec7e6e9 100644
--- a/plugins/Overlay/Controller.php
+++ b/plugins/Overlay/Controller.php
@@ -76,7 +76,8 @@ class Controller extends \Piwik\Plugin\Controller
);
$dataTable = $request->process();
- $formatter = new Metrics\Formatter();
+ // TODO: move metric formatting logic to Formatter\Html from DataTablePostProcessor
+ $formatter = new Metrics\Formatter\Html();
$data = array();
if ($dataTable->getRowsCount() > 0) {