]> git.mxchange.org Git - friendica.git/commitdiff
profile_sidebar hook use byref values in second argument array
authorFabio Comuni <fabrix.xm@gmail.com>
Thu, 30 Jun 2011 14:44:54 +0000 (16:44 +0200)
committerFabio Comuni <fabrix.xm@gmail.com>
Thu, 30 Jun 2011 14:44:54 +0000 (16:44 +0200)
boot.php

index ff036c3dfa603bc79a390bd94a06c51580ca5c61..768493e4435f524ea3cb2f3ff37212bff5af3c66 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -2430,7 +2430,7 @@ function profile_sidebar($profile) {
        ));
 
 
-       $arr = array('profile' => $profile, 'entry' => $o);
+       $arr = array('profile' => &$profile, 'entry' => &$o);
 
        call_hooks('profile_sidebar', $arr);