Clan-Background nun nur änderbar wenn das Clan-Level wirklich Level 3 beträgt.

main
elfenland 10 years ago
parent 76025ee33f
commit 9d2302da3e

@ -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);

Loading…
Cancel
Save