diff options
author | friendica <info@friendica.com> | 2014-11-10 17:44:02 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-10 17:44:02 -0800 |
commit | 56199027768a07d7f1f980df08fb9c5dc7b1278e (patch) | |
tree | b8b754c967785d60174e8202ceefe2929cc21f42 /mod/dirsearch.php | |
parent | 62094652333514e92f9f00699e14b9f49680bb64 (diff) | |
download | volse-hubzilla-56199027768a07d7f1f980df08fb9c5dc7b1278e.tar.gz volse-hubzilla-56199027768a07d7f1f980df08fb9c5dc7b1278e.tar.bz2 volse-hubzilla-56199027768a07d7f1f980df08fb9c5dc7b1278e.zip |
indicate public forums in directory results (there will be some [possibly considerable] lag time before existing forums are correctly tagged).
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r-- | mod/dirsearch.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php index d8f611e6a..516b5cc73 100644 --- a/mod/dirsearch.php +++ b/mod/dirsearch.php @@ -226,6 +226,8 @@ function dirsearch_content(&$a) { $entry['name'] = $rr['xchan_name']; $entry['hash'] = $rr['xchan_hash']; + $entry['public_forum'] = (($rr['xchan_flags'] & XCHAN_FLAGS_PUBFORUM) ? true : false); + $entry['url'] = $rr['xchan_url']; $entry['photo_l'] = $rr['xchan_photo_l']; $entry['photo'] = $rr['xchan_photo_m']; |