From af197941aec18d9fb40f9fc98bbb786088283926 Mon Sep 17 00:00:00 2001 From: hecht Date: Thu, 17 Nov 2011 22:51:10 +0000 Subject: [PATCH] fixed small bug --- ag/include/clan_fights.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ag/include/clan_fights.inc.php b/ag/include/clan_fights.inc.php index 6078484..b1a196b 100644 --- a/ag/include/clan_fights.inc.php +++ b/ag/include/clan_fights.inc.php @@ -422,8 +422,9 @@ function joinChallenge($clan_challenge_id, array $user, $charid, $slot ) { if(isAuthorizedClanfightCoordinator($clan_id, $user['id'], $clan_challenge_id)) { // okay we may assign an additional char ;) // check if we have reached the limit is later!! $forced = true; + } else { + return 'Du kannst den Char nicht an dem Kampf teilnehmen lassen, da er dir nicht gehört!'; } - return 'Du kannst den Char nicht an dem Kampf teilnehmen lassen, da er dir nicht gehört!'; } if($char['status'] != 'Frei') {