Allow plugins to modify the contact photo menu
This commit is contained in:
parent
303856ce01
commit
e574514e21
|
@ -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);
|
call_hooks('contact_photo_menu', $args);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user