diff options
Diffstat (limited to 'mod/directory.php')
-rw-r--r-- | mod/directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php index c2a71b680..d6dc8627c 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -216,7 +216,7 @@ function directory_content(&$a) { } else { - $o .= "<script> var page_query = '" . $a->query_string . "'; var extra_args = '" . extra_query_args() . "' ; </script>"; + $o .= "<script> var page_query = '" . $_GET['q'] . "'; var extra_args = '" . extra_query_args() . "' ; </script>"; $o .= replace_macros($tpl, array( '$search' => $search, '$desc' => t('Find'), |