@ -99,6 +99,10 @@ function generateAttackLinkByID($attackid, $withColor = TRUE) {
}
function generateAttackNameByID($attackid, $withColor = TRUE) {
if($attackid == null) {
return '';
$sql = 'SELECT * from attacken WHERE id = ' .$attackid;
$qry = mysql_query($sql);
$row = mysql_fetch_assoc($qry);