aboutsummaryrefslogtreecommitdiffstats
path: root/include/menu.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-31 18:53:05 -0700
committerredmatrix <git@macgirvin.com>2016-03-31 18:53:05 -0700
commit36b388ab8cb8435dc621b5c589e9f6555593568f (patch)
treee7794974bb516abe941ebcd4be76900dd27fc490 /include/menu.php
parentc0b3d7e1b480ceeed89b71efd056ed9edda2dfef (diff)
downloadvolse-hubzilla-36b388ab8cb8435dc621b5c589e9f6555593568f.tar.gz
volse-hubzilla-36b388ab8cb8435dc621b5c589e9f6555593568f.tar.bz2
volse-hubzilla-36b388ab8cb8435dc621b5c589e9f6555593568f.zip
issue #336
Diffstat (limited to 'include/menu.php')
-rw-r--r--include/menu.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/menu.php b/include/menu.php
index ca3038946..e8f1d8eb8 100644
--- a/include/menu.php
+++ b/include/menu.php
@@ -35,11 +35,11 @@ function menu_element($menu) {
$arr['edited'] = $menu['menu']['menu_edited'];
$arr['baseurl'] = z_root();
- if($menu['menu_flags']) {
+ if($menu['menu']['menu_flags']) {
$arr['flags'] = array();
- if($menu['menu_flags'] & MENU_BOOKMARK)
+ if($menu['menu']['menu_flags'] & MENU_BOOKMARK)
$arr['flags'][] = 'bookmark';
- if($menu['menu_flags'] & MENU_SYSTEM)
+ if($menu['menu']['menu_flags'] & MENU_SYSTEM)
$arr['flags'][] = 'system';
}
if($menu['items']) {