aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 61a40f8d4..657ecd8f9 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -94,9 +94,8 @@ function directory_content(&$a) {
$numtags = get_config('system','directorytags');
$kw = ((intval($numtags)) ? $numtags : 24);
-// $query = $url . '?f=&kw=' . $kw . (($safe_mode != 1) ? '&safe=' . $safe_mode : '');
$query = $url . '?f=&kw=' . $kw . (($safe_mode != 1) ? '&safe=' . $safe_mode : '');
-logger('query: ' . $query);
+
if($search)
$query .= '&name=' . urlencode($search) . '&keywords=' . urlencode($search);
if(strpos($search,'@'))