Multilple Guild Bug Found -Fixed

GuildHistory displays the latest 100 actions taken by GuildProfiler from the guild event log

Moderator: Nefuh

Multilple Guild Bug Found -Fixed

Postby Vlorn » Tue Apr 08, 2008 10:31 pm

Guild History was not coded to handle more than one guild of the same name on different servers.

On line 74 of updatehook.php change;

Code: Select all
        $query "SELECT `guild_id` FROM `".$roster->db->table('guild')."` WHERE `guild_name` = '".$guild['Name']."'"


Code: Select all
        $query "SELECT `guild_id` FROM `".$roster->db->table('guild')."` WHERE `guild_name` = '".$guild['Name']."' AND `server` = '".$guild['Server']."'"

User avatar
Vlorn Apprentice Apprentice
Posts: 29
Joined: Tue Jul 04, 2006 7:57 pm

Return to GuildHistory

Who is online

Users browsing this forum: No registered users and 0 guests