From: Matthew Exon Date: Sun, 13 May 2012 08:15:54 +0000 (+0200) Subject: Allow plugins to modify the contact photo menu X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e574514e2177798e9c0c530737864e971a8275ab;p=friendica.git Allow plugins to modify the contact photo menu --- 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);