aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-12-03 18:14:52 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-12-03 18:14:52 +0100
commitc363fc71eb054ffa615bdfe03c645a9ab946379e (patch)
tree564dbaa2dac8bb13260704730a8e5483084baa67 /mod/dirsearch.php
parentb96f09bb3aeee403038755ab5f6e6b53654cb145 (diff)
parent9f3ea71d5d9e1e42d1d1e44a8070d90814962ad2 (diff)
downloadvolse-hubzilla-c363fc71eb054ffa615bdfe03c645a9ab946379e.tar.gz
volse-hubzilla-c363fc71eb054ffa615bdfe03c645a9ab946379e.tar.bz2
volse-hubzilla-c363fc71eb054ffa615bdfe03c645a9ab946379e.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 548acbd08..388e5f3ac 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -26,8 +26,8 @@ function dirsearch_content(&$a) {
$token = get_config('system','realm_token');
if($token && $access_token != $token) {
- $result['message'] = t('This directory server requires an access token');
- return;
+ $ret['message'] = t('This directory server requires an access token');
+ json_return_and_die($ret);
}