profile_sidebar hook use byref values in second argument array
This commit is contained in:
parent
a07282ea6f
commit
c5cddc7428
1 changed files with 1 additions and 1 deletions
2
boot.php
2
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);
|
call_hooks('profile_sidebar', $arr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue