aboutsummaryrefslogtreecommitdiffstats
path: root/mod/acl.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-08 16:03:29 -0800
committerfriendica <info@friendica.com>2015-01-08 16:03:29 -0800
commit836223bf5b60a8b0db27dac9e5c183c77fa6a2e1 (patch)
treec0321e1884b1c4ef861c1474c6cd6dc63772323e /mod/acl.php
parentaa490a39bb32aed4f8ea4ffcf7134b900d245b5c (diff)
parent80c77b7f92af72dd6518ef768c0cc0c31e82bb26 (diff)
downloadvolse-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.php3
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']) {