Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
5c23a7a3
Commit
5c23a7a3
authored
Feb 10, 2010
by
Richard Mansfield
Browse files
Avoid warning caused by missing values array
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
a790925f
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/lib/registration.php
View file @
5c23a7a3
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment