Browse Source

modified item_photo_menu hook

pull/26/merge
friendica 11 years ago
parent
commit
6573c94d6c
  1. 6
      include/conversation.php

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

Loading…
Cancel
Save