We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42f99c3 commit a04d186Copy full SHA for a04d186
system/pages/highscores.php
@@ -182,7 +182,7 @@
182
if ($db->hasTable('player_killers')) {
183
$query->addSelect(['value' => PlayerKillers::where('player_killers.player_id', 'players.id')->selectRaw('COUNT(*)')]);
184
} else {
185
- $query->addSelect(['value' => PlayerDeath::unjustified()->where('player_deaths.killed_by', 'players.name')->selectRaw('COUNT(*)')]);
+ $query->addSelect(['value' => PlayerDeath::unjustified()->whereColumn('player_deaths.killed_by', 'players.name')->selectRaw('COUNT(*)')]);
186
}
187
} else if ($skill == SKILL_BALANCE) // balance
188
{
0 commit comments