diff options
author | friendica <info@friendica.com> | 2015-01-08 16:03:29 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-08 16:03:29 -0800 |
commit | 836223bf5b60a8b0db27dac9e5c183c77fa6a2e1 (patch) | |
tree | c0321e1884b1c4ef861c1474c6cd6dc63772323e /mod/acl.php | |
parent | aa490a39bb32aed4f8ea4ffcf7134b900d245b5c (diff) | |
parent | 80c77b7f92af72dd6518ef768c0cc0c31e82bb26 (diff) | |
download | volse-hubzilla-836223bf5b60a8b0db27dac9e5c183c77fa6a2e1.tar.gz volse-hubzilla-836223bf5b60a8b0db27dac9e5c183c77fa6a2e1.tar.bz2 volse-hubzilla-836223bf5b60a8b0db27dac9e5c183c77fa6a2e1.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod/acl.php')
-rw-r--r-- | mod/acl.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/acl.php b/mod/acl.php index f575db55b..d406942c3 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -293,9 +293,10 @@ function navbar_complete(&$a) { $url = $directory['url'] . '/dirsearch'; } + $count = (x($_REQUEST,'count')?$_REQUEST['count']:100); if($url) { $query = $url . '?f=' ; - $query .= '&name=' . urlencode($search) . '&limit=50' . (($address) ? '&address=' . urlencode($search) : ''); + $query .= '&name=' . urlencode($search) . "&limit=$count" . (($address) ? '&address=' . urlencode($search) : ''); $x = z_fetch_url($query); if($x['success']) { |