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
path: root/core/Menu
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-08-04 22:46:20 +0400
committermattab <matthieu.aubry@gmail.com>2014-08-04 22:46:20 +0400
commit6249ddb72f6a581d632fa0515a9d268d60a570bb (patch)
tree2b329c79808a0c0d16f09f2c4d5996c77b08afa6 /core/Menu
parent31ff25283a09f2fb2220563bc0d4d61fe0bbd3d1 (diff)
Hide notice "undefined _name"
Diffstat (limited to 'core/Menu')
-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;