From e574514e2177798e9c0c530737864e971a8275ab Mon Sep 17 00:00:00 2001 From: Matthew Exon Date: Sun, 13 May 2012 10:15:54 +0200 Subject: [PATCH] Allow plugins to modify the contact photo menu --- include/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Contact.php b/include/Contact.php index 2523fc0231..675d1c81e1 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -209,7 +209,7 @@ function contact_photo_menu($contact) { ); - $args = array('contact' => $contact, 'menu' => $menu); + $args = array('contact' => $contact, 'menu' => &$menu); call_hooks('contact_photo_menu', $args); -- 2.39.5