|
|
@ -115,8 +115,7 @@ function displayShowChallenge($clan_challenge_id, $user) {
|
|
|
|
$open_challenge_ids = getOpenChallengeIDs($user_clan['id']);
|
|
|
|
$open_challenge_ids = getOpenChallengeIDs($user_clan['id']);
|
|
|
|
|
|
|
|
|
|
|
|
if(!in_array($clan_challenge_id, $open_challenge_ids)) {
|
|
|
|
if(!in_array($clan_challenge_id, $open_challenge_ids)) {
|
|
|
|
displayErrorMessage(NULL, 'Wollte da jemand schummeln? ;)', displayHistoryBackLink());
|
|
|
|
displayClanFightMenu($user);
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//initialisieren von wichtigen variablen
|
|
|
|
//initialisieren von wichtigen variablen
|
|
|
|