From 6573c94d6c003ad2535198555b7b39d75e6751fb Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 11 Jan 2012 17:34:02 -0800 Subject: [PATCH] modified item_photo_menu hook --- include/conversation.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index 6f235f701..d05b3be5c 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 .= "
  • $k
  • \n";