diff options
Diffstat (limited to 'plugins/Goals/Pages.php')
-rw-r--r-- | plugins/Goals/Pages.php | 3 |
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(); } |