Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
9abff11f86
@ -924,6 +924,9 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) {
|
|||||||
$pdesc = true;
|
$pdesc = true;
|
||||||
$reddress = true;
|
$reddress = true;
|
||||||
|
|
||||||
|
if($block && intval(get_config('system','block_public_blackout')))
|
||||||
|
return $o;
|
||||||
|
|
||||||
if((! is_array($profile)) && (! count($profile)))
|
if((! is_array($profile)) && (! count($profile)))
|
||||||
return $o;
|
return $o;
|
||||||
|
|
||||||
@ -935,6 +938,7 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) {
|
|||||||
$show_connect = false;
|
$show_connect = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$profile['picdate'] = urlencode($profile['picdate']);
|
$profile['picdate'] = urlencode($profile['picdate']);
|
||||||
|
|
||||||
call_hooks('profile_sidebar_enter', $profile);
|
call_hooks('profile_sidebar_enter', $profile);
|
||||||
|
Reference in New Issue
Block a user