modified item_photo_menu hook
This commit is contained in:
parent
c5f41d8b6c
commit
6573c94d6c
|
@ -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…
Reference in a new issue