diff --git a/ag/clan/clan_info.php b/ag/clan/clan_info.php index 47351f7..8f3d01b 100644 --- a/ag/clan/clan_info.php +++ b/ag/clan/clan_info.php @@ -514,7 +514,7 @@ function setProfile($user, $what, $value1, $value2, $clanid, $rootlvl){ mysql_query('UPDATE clan SET Info = \''.$value1.'\' where id = '.$clanid); return NULL; case 'Background': - mysql_query('UPDATE clan SET background = \''.$value1.'\' where id = '.$clanid); + if(isClanBackgroundAvailable($clanid)) { mysql_query('UPDATE clan SET background = \''.$value1.'\' where id = '.$clanid) ;} return NULL; case 'Leadership': $clan = getClan($clanid); @@ -579,7 +579,7 @@ function displayEdit($what, $clanid, $rootlvl){ $content = '