show connect link even on restricted profiles
This commit is contained in:
parent
9d0664ba48
commit
96031d0e95
1 changed files with 2 additions and 2 deletions
4
boot.php
4
boot.php
|
@ -9,7 +9,7 @@ require_once('include/nav.php');
|
||||||
require_once('include/cache.php');
|
require_once('include/cache.php');
|
||||||
|
|
||||||
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||||
define ( 'FRIENDICA_VERSION', '2.3.1219' );
|
define ( 'FRIENDICA_VERSION', '2.3.1220' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1115 );
|
define ( 'DB_UPDATE_VERSION', 1115 );
|
||||||
|
|
||||||
|
@ -968,7 +968,7 @@ function profile_sidebar($profile, $block = 0) {
|
||||||
$homepage = ((x($profile,'homepage') == 1) ? t('Homepage:') : False);
|
$homepage = ((x($profile,'homepage') == 1) ? t('Homepage:') : False);
|
||||||
|
|
||||||
if(($profile['hidewall'] || $block) && (! local_user()) && (! remote_user())) {
|
if(($profile['hidewall'] || $block) && (! local_user()) && (! remote_user())) {
|
||||||
$location = $pdesc = $connect = $gender = $marital = $homepage = False;
|
$location = $pdesc = $gender = $marital = $homepage = False;
|
||||||
}
|
}
|
||||||
|
|
||||||
$firstname = ((strpos($profile['name'],' '))
|
$firstname = ((strpos($profile['name'],' '))
|
||||||
|
|
Loading…
Reference in a new issue