directory listing shows phantom keywords
This commit is contained in:
parent
9acc79a266
commit
50b9cc6f39
@ -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",
|
||||
|
@ -1 +1 @@
|
||||
2014-11-08.853
|
||||
2014-11-09.854
|
||||
|
Reference in New Issue
Block a user