Fix a query failing in UserSearch
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -91,7 +91,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable { | ... | @@ -91,7 +91,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable { |
| 91 | } | 91 | } |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | mysqli_query("SET SESSION group_concat_max_len = 40960", $wpdb->dbh); | 94 | mysqli_query($wpdb->dbh, "SET SESSION group_concat_max_len = 40960"); |
| 95 | 95 | ||
| 96 | $query = " | 96 | $query = " |
| 97 | SELECT SQL_CALC_FOUND_ROWS | 97 | SELECT SQL_CALC_FOUND_ROWS | ... | ... |
-
Please register or sign in to post a comment