Merge pull request #297 from mexon/upstream
Allow plugins to modify the contact photo menu
This commit is contained in:
commit
bd32693a90
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue