qsearch_limit, not lsearch

This commit is contained in:
Friendika 2011-02-28 23:39:59 -08:00
parent 80ed4242ee
commit 2d4b3bee60

View file

@ -5,7 +5,7 @@ function qsearch_init(&$a) {
if(! local_user()) if(! local_user())
killme(); 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']))) : ''); $search = ((x($_GET,'s')) ? notags(trim(urldecode($_GET['s']))) : '');