]> git.mxchange.org Git - friendica.git/blobdiff - mod/qsearch.php
multi-user, do not cache open mbox
[friendica.git] / mod / qsearch.php
index b55b526ffa88ac8953f669647e88d4381175cf3d..9b3f2b087a0da6582cb22b1f61ffe8253a60c1ab 100644 (file)
@@ -5,7 +5,7 @@ function qsearch_init(&$a) {
        if(! local_user())
                killme();
 
-       $limit = (get_config('system','lsearch_limit') ? intval(get_config('system','lsearch_limit')) : 100);
+       $limit = (get_config('system','qsearch_limit') ? intval(get_config('system','qsearch_limit')) : 100);
 
        $search = ((x($_GET,'s')) ? notags(trim(urldecode($_GET['s']))) : '');
 
@@ -46,4 +46,5 @@ function qsearch_init(&$a) {
 
        echo str_replace('\\/','/',json_encode((object) $results));
        killme();
-}
\ No newline at end of file
+}
+