diff options
Diffstat (limited to 'core/Menu/MenuReporting.php')
-rw-r--r-- | core/Menu/MenuReporting.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/Menu/MenuReporting.php b/core/Menu/MenuReporting.php index 67f95bb8a6..d704134510 100644 --- a/core/Menu/MenuReporting.php +++ b/core/Menu/MenuReporting.php @@ -68,13 +68,14 @@ class MenuReporting extends MenuAbstract */ Piwik::postEvent('Menu.Reporting.addItems', array()); + foreach (Report::getAllReports() as $report) { + $report->configureReportingMenu($this); + } + foreach ($this->getAvailableMenus() as $menu) { $menu->configureReportingMenu($this); } - foreach (Report::getAllReports() as $report) { - $report->configureReportingMenu($this); - } } return parent::getMenu(); |