radiskull 13 years ago
parent 06d206eb46
commit 6d0717d9f3

@ -230,7 +230,7 @@ function displayBody($challenge, $clans, $user) {
if(strtotime($challenge['enddate']) < time() ) { if(strtotime($challenge['enddate']) < time() ) {
//sieger rausfinden //sieger rausfinden
if($clans[0]['points'] > $clans[0]['points']) { if($clans[0]['points'] > $clans[1]['points']) {
$winner = $clans[0]['name']; $winner = $clans[0]['name'];
} else { } else {
$winner = $clans[1]['name']; $winner = $clans[1]['name'];

Loading…
Cancel
Save