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/MultiSites/Controller.php')
-rw-r--r--plugins/MultiSites/Controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MultiSites/Controller.php b/plugins/MultiSites/Controller.php
index a48d86f1cc..0c16b07762 100644
--- a/plugins/MultiSites/Controller.php
+++ b/plugins/MultiSites/Controller.php
@@ -169,7 +169,7 @@ class Controller extends \Piwik\Plugin\Controller
$this->setMaxDateView($maxDate, $view);
$view->show_sparklines = Config::getInstance()->General['show_multisites_sparklines'];
- echo $view->render();
+ return $view->render();
}
/**
@@ -226,6 +226,6 @@ class Controller extends \Piwik\Plugin\Controller
$api = "Goals.get";
}
$view = $this->getLastUnitGraph($this->pluginName, __FUNCTION__, $api);
- return $this->renderView($view, $fetch);
+ return $this->renderView($view);
}
}