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
927e11ed
Commit
927e11ed
authored
May 18, 2007
by
Penny Leach
Browse files
fixes 659 : Don't limit get_views to 5 items in friends list page
parent
e7ef58a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/contacts/index.json.php
View file @
927e11ed
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
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