diff --git a/ag/include/clan_fights.inc.php b/ag/include/clan_fights.inc.php
index a32c36f..3b893f5 100644
--- a/ag/include/clan_fights.inc.php
+++ b/ag/include/clan_fights.inc.php
@@ -372,7 +372,6 @@ function isClanLocked($clanid) {
$sql = 'SELECT *, locked_until > now() as `lock`, (Select count(id) from user where clan = c2.id) as members FROM clan_locked right join clan c2 on c2.id = clan_locked.clanid where c2.id = ' . $clanid;
// echo $sql.'
';
$lock = mysql_fetch_assoc(mysql_query($sql));
- echo $lock['lock'] . ' => ' . ($lock['lock'] == 0?'TRUE':'FALSE').'
';
if($lock['lock'] == 0) { // don't matter if it is 0 or NULL
// we do not have data in the clan locked table so we are not locked :D