diff --git a/mod/qsearch.php b/mod/qsearch.php index 3bde488701..9b3f2b087a 100644 --- a/mod/qsearch.php +++ b/mod/qsearch.php @@ -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']))) : '');