Merge pull request #774 from Arci224/fix-leaderboard

Bugfix for servergroup exception on Top user lists
This commit is contained in:
Newcomer1989
2020-09-22 19:40:07 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ $andnotgroup = '';
if($cfg['rankup_excepted_group_id_list'] != NULL) {
foreach($cfg['rankup_excepted_group_id_list'] as $group => $value) {
$notingroup .= "'".$group."',";
$andnotgroup .= " AND `u`.`cldgroup` NOT LIKE ('".$group.",%') AND `u`.`cldgroup` NOT LIKE ('%,".$group.",%')";
$andnotgroup .= " AND `u`.`cldgroup` NOT LIKE ('%,".$group."') AND `u`.`cldgroup` NOT LIKE ('%,".$group.",%') AND `u`.`cldgroup` NOT LIKE ('".$group.",%')";
}
$notingroup = substr($notingroup, 0, -1);
} else {