aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 1f2ec1108..801be6189 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -31,7 +31,6 @@ function dirsearch_content(&$a) {
$tables = array('name','address','locale','region','postcode','country','gender','marital','sexual','keywords');
-
if($_REQUEST['query']) {
$advanced = dir_parse_query($_REQUEST['query']);
if($advanced) {
@@ -122,7 +121,7 @@ function dirsearch_content(&$a) {
}
- $perpage = (($_REQUEST['n']) ? $_REQUEST['n'] : 300);
+ $perpage = (($_REQUEST['n']) ? $_REQUEST['n'] : 80);
$page = (($_REQUEST['p']) ? intval($_REQUEST['p'] - 1) : 0);
$startrec = (($page+1) * $perpage) - $perpage;
$limit = (($_REQUEST['limit']) ? intval($_REQUEST['limit']) : 0);