Skip to content
Extraits de code Groupes Projets
Valider c31605d6 rédigé par mattab's avatar mattab
Parcourir les fichiers

reportsByDimension constructor requires an "Id" string used to differentiate...

reportsByDimension constructor requires an "Id" string used to differentiate reportsByDimension objects
parent ce2d7d45
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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();
......
......@@ -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');
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter