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:
authormattab <matthieu.aubry@gmail.com>2013-11-28 11:55:12 +0400
committermattab <matthieu.aubry@gmail.com>2013-11-28 11:55:12 +0400
commitc31605d68dbf1114737f9b02bede8334a021bf8b (patch)
treef1aa61905ba56e392f6d01045027726fccf9f51a
parentce2d7d45d0ede5ca89f2021ba1c7d348664abdb0 (diff)
reportsByDimension constructor requires an "Id" string used to differentiate reportsByDimension objects
-rw-r--r--plugins/Goals/Controller.php2
-rw-r--r--plugins/Referrers/Controller.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Goals/Controller.php b/plugins/Goals/Controller.php
index 8792b83354..7b05ef4932 100644
--- a/plugins/Goals/Controller.php
+++ b/plugins/Goals/Controller.php
@@ -409,7 +409,7 @@ class Controller extends \Piwik\Plugin\Controller
{
$preloadAbandonedCart = $cartNbConversions !== false && $conversions == 0;
- $goalReportsByDimension = new ReportsByDimension();
+ $goalReportsByDimension = new ReportsByDimension('Goals');
// add ecommerce reports
$ecommerceCustomParams = array();
diff --git a/plugins/Referrers/Controller.php b/plugins/Referrers/Controller.php
index efd24036f1..e5f1cf6e27 100644
--- a/plugins/Referrers/Controller.php
+++ b/plugins/Referrers/Controller.php
@@ -98,7 +98,7 @@ class Controller extends \Piwik\Plugin\Controller
* & allows the user to switch between them.
*
* @param int $visits The number of visits for this period & site. If <= 0, the
- * reports are not shown, since they will have no data.
+ * reports are not shown, since they will have no data.getReferrersReportsByDimensionView
* @return string The report viewer HTML.
*/
private function getReferrersReportsByDimensionView($visits)
@@ -107,7 +107,7 @@ class Controller extends \Piwik\Plugin\Controller
// only display the reports by dimension view if there are visits
if ($visits > 0) {
- $referrersReportsByDimension = new View\ReportsByDimension();
+ $referrersReportsByDimension = new View\ReportsByDimension('Referrers');
$referrersReportsByDimension->addReport(
'Referrers_ViewAllReferrers', 'Referrers_WidgetGetAll', 'Referrers.getAll');