diff options
author | friendica <info@friendica.com> | 2013-09-14 17:20:24 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-14 17:20:24 -0700 |
commit | 053893b0673d15c255718e5328fbbdb9af29f715 (patch) | |
tree | 4e35d15f5493f48586a973b7c6ce38be8f9a75f8 /mod/zfinger.php | |
parent | 7a3d415267ebdb2880145e4df78f3a52a2c0082b (diff) | |
download | volse-hubzilla-053893b0673d15c255718e5328fbbdb9af29f715.tar.gz volse-hubzilla-053893b0673d15c255718e5328fbbdb9af29f715.tar.bz2 volse-hubzilla-053893b0673d15c255718e5328fbbdb9af29f715.zip |
some fixes to directory keyword searches
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r-- | mod/zfinger.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php index 36c1cc493..9a2873df3 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -108,8 +108,10 @@ function zfinger_init(&$a) { $k = explode(' ',$p[0]['keywords']); if($k) foreach($k as $kk) - if(trim($kk)) - $tags[] = trim($kk); + if(trim($kk)) { + $tags[] = trim($kk," \t\n\r\0\x0B,"); + } + } if($tags) $profile['keywords'] = $tags; } |