Commit c5dc5d0a authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

changing myfriends and findfriends to always have 10 users per page

parent 312789c1
......@@ -33,8 +33,8 @@ require('searchlib.php');
safe_require('search', 'internal');
$query = param_variable('query', '');
$limit = param_integer('limit', 10);
$offset = param_integer('offset', 0);
$limit = 10;
$data = search_user($query, $limit, $offset, array('exclude' => $USER->get('id')));
......
......@@ -36,7 +36,7 @@ define('SECTION_PAGE', 'myfriends');
$filter = param_alpha('filter', 'all');
$offset = param_integer('offset', 0);
$limit = 25;
$limit = 10;
$userid = $USER->get('id');
$data = array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment