diff --git a/include/conversation.php b/include/conversation.php index 6f235f701a..d05b3be5cc 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -733,10 +733,12 @@ function item_photo_menu($item){ ); - $args = array($item, &$menu); + $args = array('item' => $item, 'menu' => $menu); call_hooks('item_photo_menu', $args); - + + $menu = $args['menu']; + $o = ""; foreach($menu as $k=>$v){ if ($v!="") $o .= "