@ -145,8 +145,9 @@ function retrieveParticipants($tournament_type) {
$cid = array();
$cid = array();
if($gain == TOURNAMENT_GAIN_ANMELDUNG){
if($gain == TOURNAMENT_GAIN_ANMELDUNG){
$sql = 'SELECT c.id FROM tournament_registration tr inner join chars as c ON tr.charakter = c.id WHERE tr.type='.$tournament_type['id'].' AND '.$filter_sql;
$sql = 'SELECT c.id FROM tournament_registration tr inner join chars as c ON tr.charakter = c.id WHERE tr.type='.$tournament_type['id'].' AND '.$filter_sql;