modified item_photo_menu hook

This commit is contained in:
friendica 2012-01-11 17:34:02 -08:00
parent c5f41d8b6c
commit 6573c94d6c

View File

@ -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 .= "<li><a href='$v'>$k</a></li>\n";