aboutsummaryrefslogtreecommitdiffstats
path: root/mod/menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/menu.php')
-rw-r--r--mod/menu.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/menu.php b/mod/menu.php
index 0dbbfde9c..63aeaa5e3 100644
--- a/mod/menu.php
+++ b/mod/menu.php
@@ -78,6 +78,9 @@ function menu_content(&$a) {
$x = menu_list($uid);
if($x) {
for($y = 0; $y < count($x); $y ++) {
+ $m = menu_fetch($x[$y]['menu_name'],$uid,get_observer_hash());
+ if($m)
+ $x[$y]['element'] = '[element]' . base64url_encode(json_encode(menu_element($m))) . '[/element]';
$x[$y]['bookmark'] = (($x[$y]['menu_flags'] & MENU_BOOKMARK) ? true : false);
}
}