aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-11 20:59:50 -0700
committerzotlabs <mike@macgirvin.com>2017-05-11 20:59:50 -0700
commitcbe600369cdcdb0587b01f9ffebbf7785c089fec (patch)
treecbd4e76bf87b98ac6f50b55cc80fac78ab3d7506
parent1de1b58a087afbadb55b7f18b93fb0b502a2de3a (diff)
parentf34b060e23baf02b1dc7865f4b5d964aae391f9b (diff)
downloadvolse-hubzilla-cbe600369cdcdb0587b01f9ffebbf7785c089fec.tar.gz
volse-hubzilla-cbe600369cdcdb0587b01f9ffebbf7785c089fec.tar.bz2
volse-hubzilla-cbe600369cdcdb0587b01f9ffebbf7785c089fec.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
-rw-r--r--Zotlabs/Module/Acl.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php
index c3c50cac2..83fafbdff 100644
--- a/Zotlabs/Module/Acl.php
+++ b/Zotlabs/Module/Acl.php
@@ -412,10 +412,12 @@ class Acl extends \Zotlabs\Web\Controller {
$directory = find_upstream_directory($dirmode);
$url = $directory['url'] . '/dirsearch';
}
+
+ $token = get_config('system','realm_token');
$count = (x($_REQUEST,'count') ? $_REQUEST['count'] : 100);
if($url) {
- $query = $url . '?f=' ;
+ $query = $url . '?f=' . (($token) ? '&t=' . urlencode($token) : '');
$query .= '&name=' . urlencode($search) . "&limit=$count" . (($address) ? '&address=' . urlencode($search) : '');
$x = z_fetch_url($query);