fix of the fix

main
hecht 13 years ago
parent 1997aa1a93
commit 45d2e649fe

@ -216,8 +216,9 @@ $agb = $_REQUEST['agb'];
<center><table cellpadding="0" cellspacing="0" width=680>
<tr>
<?php
$ids = count(getOpenChallengeIDs($user_ida['clan']));
if($ids > 0) {
$ids = getOpenChallengeIDs($user_ida['clan']);
$id_count = count($ids);
if($id_count > 0) {
$n_ids = array();
foreach ($ids as $clan_challenge_id) {
$alreadyParticipating = false;
@ -231,7 +232,7 @@ $agb = $_REQUEST['agb'];
}
}
if(!$alreadyParticipating) {
$n_ids[] = $ids;
$n_ids[] = $clan_challenge_id;
}
}
}
@ -247,7 +248,7 @@ $agb = $_REQUEST['agb'];
if($ids != 0) {
echo '<td colspan="3" align="center" id="pn">';
echo '**Es gibt derzeit '.$ids.' offene Clan-Kämpfe. <a href="index.php?as=clan/kampf_info" id="pn">Klicke hier um zum Clan-Kampf Menü zu gelangen.</a>**</td>';
echo '**Es gibt derzeit '.$id_count.' offene Clan-Kämpfe. <a href="index.php?as=clan/kampf_info" id="pn">Klicke hier um zum Clan-Kampf Menü zu gelangen.</a>**</td>';
}

Loading…
Cancel
Save