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/MenuAbstract.php')
-rw-r--r--core/Menu/MenuAbstract.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Menu/MenuAbstract.php b/core/Menu/MenuAbstract.php
index baf5c659cb..2ccf6fda28 100644
--- a/core/Menu/MenuAbstract.php
+++ b/core/Menu/MenuAbstract.php
@@ -318,7 +318,9 @@ abstract class MenuAbstract extends Singleton
}
if ($itemOne['_order'] == $itemTwo['_order']) {
- return strcmp($itemOne['_name'], $itemTwo['_name']);
+ return strcmp(
+ @$itemOne['_name'],
+ @$itemTwo['_name']);
}
return ($itemOne['_order'] < $itemTwo['_order']) ? -1 : 1;