Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
72db23b4
authored
2011-04-20 20:51:32 +0000
by
Chris Boden
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed bug causing large amounts of data to not return
1 parent
3d96f9ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
lib/UserSearch.php
lib/UserSearch.php
View file @
72db23b
...
...
@@ -84,6 +84,8 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
$uam_clause
=
" AND `uam`.`object_type` = 'user' AND `uam`.`group_id` IN ("
.
implode
(
','
,
$in_groups
)
.
") "
;
}
mysql_query
(
"SET SESSION group_concat_max_len = 40960"
,
$wpdb
->
dbh
);
$query
=
"
SELECT SQL_CALC_FOUND_ROWS
`user_id`
...
...
@@ -112,17 +114,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
/*
?>
<textarea style="width: 95%; height: 35em; font-size: 11px;" autofocus="autofocus">
<?php
$me = new User(1);
echo serialize($me) . "\n";
echo serialize(Array('hello' => 'world'));
?>
<?php echo serialize(new User(1)); ?>
<?php echo serialize(new User(4)); ?>
<?php echo trim($query); ?>;
<?php echo trim($query); ?>;
</textarea>
<?php
/**/
...
...
Please
register
or
sign in
to post a comment