diff options
author | friendica <info@friendica.com> | 2013-02-12 16:24:30 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-12 16:24:30 -0800 |
commit | 02c636ed23ffde0b6423c2676cacc7ed88dc45de (patch) | |
tree | b3218fb68ef8e741e7d773341834d4b5cb3736cf /mod/zfinger.php | |
parent | 33c97f718c86d542d31baad8b21c136990a528c7 (diff) | |
download | volse-hubzilla-02c636ed23ffde0b6423c2676cacc7ed88dc45de.tar.gz volse-hubzilla-02c636ed23ffde0b6423c2676cacc7ed88dc45de.tar.bz2 volse-hubzilla-02c636ed23ffde0b6423c2676cacc7ed88dc45de.zip |
send correct 'searchable' directory setting based on default profile setting
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r-- | mod/zfinger.php | 4 |
1 files changed, 4 insertions, 0 deletions
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') |