From a134d7447253e69d2568743d00a38275b53b3e0a Mon Sep 17 00:00:00 2001 From: Shadez Date: Tue, 4 Jan 2011 00:34:12 +0800 Subject: [PATCH] [444] Another SQL fix for Trinity Core`s `arena_team` table. Also, display proper colors for Team Emblem (hack if I`m right) --- includes/classes/class.arenateams.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/classes/class.arenateams.php b/includes/classes/class.arenateams.php index 5b3d1730b..828114648 100644 --- a/includes/classes/class.arenateams.php +++ b/includes/classes/class.arenateams.php @@ -390,7 +390,6 @@ public function GetArenaTeamEmblem($teamId = 0, $db = null) { } if($db == null) { $arenaTeamEmblem = Armory::$cDB->selectRow("SELECT `BackgroundColor` AS `background`, `BorderColor` AS `borderColor`, `BorderStyle` AS `borderStyle`, `EmblemColor` AS `iconColor`, `EmblemStyle` AS `iconStyle` FROM `arena_team` WHERE `arenateamid`=%d", $teamId); - // Displaying correct Team Emblem // We have DECIMAL value here in DB (4294106805 e.g.) // We need to reduce it to 255 (4294106550)