aboutsummaryrefslogtreecommitdiffstats
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
parent9acc79a26689902f57bbf49b0b8d69f987835d9f (diff)
downloadvolse-hubzilla-50b9cc6f3938ffd7b64665f19449c606b6288c54.tar.gz
volse-hubzilla-50b9cc6f3938ffd7b64665f19449c606b6288c54.tar.bz2
volse-hubzilla-50b9cc6f3938ffd7b64665f19449c606b6288c54.zip
directory listing shows phantom keywords
-rw-r--r--mod/directory.php4
-rw-r--r--version.inc2
2 files changed, 4 insertions, 2 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",
diff --git a/version.inc b/version.inc
index efaa3c1ee..2859cdc11 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-11-08.853
+2014-11-09.854