admin/update.php Line 198, change
- Code: Select all
$output .= start_update_trigger($char_name,'char');
to
$output .= start_update_trigger($char_name,'char',$realm_name);
in lib/update_trigger_lib.php, Line 36, change
- Code: Select all
function start_update_trigger($name,$mode)
to
function start_update_trigger($name,$mode,$realm)
and after "global" add
- Code: Select all
$realm=$wowdb->escape($realm);
change the line containing
- Code: Select all
$query = "SELECT `member_id` FROM `".ROSTER_MEMBERSTABLE."` WHERE `name` = '$name'";
to
$query = "SELECT `member_id` FROM `".ROSTER_MEMBERSTABLE."` WHERE `name` = '$name' and `server` = '$realm'";
-> Done. Now your upload calls the update_trigger for all your chars.