directory listing shows phantom keywords

This commit is contained in:
friendica 2014-11-09 16:11:03 -08:00
parent 9acc79a266
commit 50b9cc6f39
2 changed files with 4 additions and 2 deletions

View File

@ -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",

View File

@ -1 +1 @@
2014-11-08.853
2014-11-09.854