send correct 'searchable' directory setting based on default profile setting
This commit is contained in:
parent
33c97f718c
commit
02c636ed23
@ -83,6 +83,10 @@ function zfinger_init(&$a) {
|
|||||||
$profile = array();
|
$profile = array();
|
||||||
|
|
||||||
if($p) {
|
if($p) {
|
||||||
|
|
||||||
|
if(! intval($p[0]['publish']))
|
||||||
|
$searchable = false;
|
||||||
|
|
||||||
$profile['description'] = $p[0]['pdesc'];
|
$profile['description'] = $p[0]['pdesc'];
|
||||||
$profile['birthday'] = $p[0]['dob'];
|
$profile['birthday'] = $p[0]['dob'];
|
||||||
if($profile['birthday'] != '0000-00-00')
|
if($profile['birthday'] != '0000-00-00')
|
||||||
|
Reference in New Issue
Block a user