From 2d4b3bee609e2d5aa9a421e6e9e9283b49f225db Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 28 Feb 2011 23:39:59 -0800 Subject: [PATCH] qsearch_limit, not lsearch --- mod/qsearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']))) : '');