send correct 'searchable' directory setting based on default profile setting

This commit is contained in:
friendica 2013-02-12 16:24:30 -08:00
parent 33c97f718c
commit 02c636ed23

View File

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