From: friendica Date: Thu, 12 Jan 2012 01:34:02 +0000 (-0800) Subject: modified item_photo_menu hook X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6573c94d6c003ad2535198555b7b39d75e6751fb;p=friendica.git modified item_photo_menu hook --- 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 .= "
  • $k
  • \n";