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/Goals/Pages.php')
-rw-r--r--plugins/Goals/Pages.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Goals/Pages.php b/plugins/Goals/Pages.php
index 571a5f75cd..72db6cc21b 100644
--- a/plugins/Goals/Pages.php
+++ b/plugins/Goals/Pages.php
@@ -338,7 +338,8 @@ class Pages
private function createWidgetForReport($module, $action)
{
- $factory = new ReportWidgetFactory(Reports::factory($module, $action));
+ $report = Reports::factory($module, $action);
+ $factory = new ReportWidgetFactory($report);
return $factory->createWidget();
}