From 02c636ed23ffde0b6423c2676cacc7ed88dc45de Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 12 Feb 2013 16:24:30 -0800 Subject: send correct 'searchable' directory setting based on default profile setting --- mod/zfinger.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod/zfinger.php') diff --git a/mod/zfinger.php b/mod/zfinger.php index 398699b20..74353e8f9 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -83,6 +83,10 @@ function zfinger_init(&$a) { $profile = array(); if($p) { + + if(! intval($p[0]['publish'])) + $searchable = false; + $profile['description'] = $p[0]['pdesc']; $profile['birthday'] = $p[0]['dob']; if($profile['birthday'] != '0000-00-00') -- cgit v1.2.3