Very inefficient managegroups.php code... #1816
Labels
b:1.8
Branch: 1.8.x
s:resolved
Status: Resolved. Solution implemented or scheduled
t:bug
Type: Bug. An issue causing error / flaw / malfunction
Milestone
https://github.com/mybb/mybb/blob/feature/managegroup.php#L376 - that's quite bad, one query is executed per every group member while the leaders could be simply added to an array in this loop: https://github.com/mybb/mybb/blob/feature/managegroup.php#L307 and then checked with
in_array()
.The text was updated successfully, but these errors were encountered: