]> git.mxchange.org Git - friendica.git/commitdiff
Allow plugins to modify the contact photo menu
authorMatthew Exon <github.mexon@spamgourmet.com>
Sun, 13 May 2012 08:15:54 +0000 (10:15 +0200)
committerMatthew Exon <git.mexon@spamgourmet.com>
Tue, 15 May 2012 00:59:45 +0000 (08:59 +0800)
include/Contact.php

index 2523fc0231a594189b057738873140a3e331b748..675d1c81e130ed211dd5a73fc2ce574211788153 100644 (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);