Commit 5c23a7a3 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Avoid warning caused by missing values array


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent a790925f
......@@ -270,7 +270,7 @@ function user_statistics($limit, $offset) {
) f ON u.id = f.id
GROUP BY u.id
ORDER BY friends DESC
LIMIT 1");
LIMIT 1", array());
$data['maxfriends'] = $maxfriends[0];
return $data;
}
......
Supports Markdown
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