diff options
Diffstat (limited to 'plugins/VisitsSummary')
-rw-r--r-- | plugins/VisitsSummary/Controller.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/VisitsSummary/Controller.php b/plugins/VisitsSummary/Controller.php index f434c6f6dc..d9e6549b04 100644 --- a/plugins/VisitsSummary/Controller.php +++ b/plugins/VisitsSummary/Controller.php @@ -31,7 +31,7 @@ class Controller extends \Piwik\Plugin\Controller $this->setPeriodVariablesView($view); $view->graphEvolutionVisitsSummary = $this->getEvolutionGraph(true, array('nb_visits')); $this->setSparklinesAndNumbers($view); - echo $view->render(); + return $view->render(); } public function getSparklines() @@ -39,7 +39,7 @@ class Controller extends \Piwik\Plugin\Controller $view = new View('@VisitsSummary/getSparklines'); $this->setPeriodVariablesView($view); $this->setSparklinesAndNumbers($view); - echo $view->render(); + return $view->render(); } public function getEvolutionGraph($fetch = false, array $columns = array()) @@ -94,7 +94,7 @@ class Controller extends \Piwik\Plugin\Controller $view = $this->getLastUnitGraphAcrossPlugins($this->pluginName, __FUNCTION__, $columns, $selectableColumns, $documentation); - return $this->renderView($view, $fetch); + return $this->renderView($view); } static public function getVisitsSummary() |