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, 2 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 27b05704c..cd0ab4a48 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -53,7 +53,7 @@ function directory_content(&$a) {
}
if($url) {
- $query = $url . ' ?f=' ;
+ $query = $url . '?f=' ;
if($search)
$query .= '&name=' . urlencode($search);
@@ -61,6 +61,7 @@ function directory_content(&$a) {
if($a->pager['page'] != 1)
$query .= '&p=' . $a->pager['page'];
+ logger('mod_directory: query: ' . $query);
$x = z_fetch_url($query);
if($x['success']) {