profile_sidebar hook use byref values in second argument array

This commit is contained in:
Fabio Comuni 2011-06-30 16:44:54 +02:00
parent a07282ea6f
commit c5cddc7428

View File

@ -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);