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 'core/Menu/MenuReporting.php')
-rw-r--r--core/Menu/MenuReporting.php7
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();