aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-11 17:34:02 -0800
committerfriendica <info@friendica.com>2012-01-11 17:34:02 -0800
commit6573c94d6c003ad2535198555b7b39d75e6751fb (patch)
treefa53a313c3413f61712a917566fbc16516492a1c /include/conversation.php
parentc5f41d8b6c9473b5573e941118d8d8c9e25013dc (diff)
downloadvolse-hubzilla-6573c94d6c003ad2535198555b7b39d75e6751fb.tar.gz
volse-hubzilla-6573c94d6c003ad2535198555b7b39d75e6751fb.tar.bz2
volse-hubzilla-6573c94d6c003ad2535198555b7b39d75e6751fb.zip
modified item_photo_menu hook
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php6
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";