Commit 927e11ed authored by Penny Leach's avatar Penny Leach
Browse files

fixes 659 : Don't limit get_views to 5 items in friends list page

parent e7ef58a5
......@@ -68,7 +68,7 @@ if (empty($pending)) {
if (!$data = get_records_sql_assoc($sql, array($userid, $userid, $userid), $offset, $limit)) {
$data = array();
}
if (!$views = get_views(array_keys($data))) {
if (!$views = get_views(array_keys($data), null, null)) {
$views = array();
}
$data = array_values($data);
......
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