aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 88c240e58..09ff2ae09 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -172,12 +172,11 @@ function directory_content(&$a) {
$out = '';
-logger('keywords: '.$keywords);
if($keywords) {
$keywords = str_replace(',',' ', $keywords);
$keywords = str_replace(' ',' ', $keywords);
$karr = explode(' ', $keywords);
-// $out = '';
+
if($karr) {
if(local_user()) {
$r = q("select keywords from profile where uid = %d and is_default = 1 limit 1",
@@ -200,8 +199,6 @@ logger('keywords: '.$keywords);
}
}
-logger('out: '.$out);
-
$entry = array(
'id' => ++$t,