Allow plugins to modify the contact photo menu

This commit is contained in:
Matthew Exon 2012-05-13 10:15:54 +02:00 committed by Matthew Exon
parent 303856ce01
commit e574514e21

View file

@ -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);