diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 6 |
1 files 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 .= "<li><a href='$v'>$k</a></li>\n"; |