aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-09 16:11:03 -0800
committerfriendica <info@friendica.com>2014-11-09 16:11:03 -0800
commit50b9cc6f3938ffd7b64665f19449c606b6288c54 (patch)
treebe311bb470900495978f27ec77f1737b2aa494cd /mod/directory.php
parent9acc79a26689902f57bbf49b0b8d69f987835d9f (diff)
downloadvolse-hubzilla-50b9cc6f3938ffd7b64665f19449c606b6288c54.tar.gz
volse-hubzilla-50b9cc6f3938ffd7b64665f19449c606b6288c54.tar.bz2
volse-hubzilla-50b9cc6f3938ffd7b64665f19449c606b6288c54.zip
directory listing shows phantom keywords
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 1571efcf5..88c240e58 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -170,12 +170,14 @@ function directory_content(&$a) {
$keywords = ((x($profile,'keywords')) ? $profile['keywords'] : '');
+ $out = '';
+
logger('keywords: '.$keywords);
if($keywords) {
$keywords = str_replace(',',' ', $keywords);
$keywords = str_replace(' ',' ', $keywords);
$karr = explode(' ', $keywords);
- $out = '';
+// $out = '';
if($karr) {
if(local_user()) {
$r = q("select keywords from profile where uid = %d and is_default = 1 limit 1",