aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/mitem.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/mitem.php b/mod/mitem.php
index 8e60e2d65..e0aa1b87a 100644
--- a/mod/mitem.php
+++ b/mod/mitem.php
@@ -81,11 +81,8 @@ function mitem_content(&$a) {
$channel = $a->get_channel();
- $a->set_widget('design',design_tools());
-
-
$m = menu_fetch($a->data['menu']['menu_name'],local_user(), get_observer_hash());
- $a->set_widget('menu_preview',menu_render($m));
+ $a->data['menu_item'] = $m;
if(argc() == 2) {