2014-06-14, 04:27 AM
Unless I misunderstand something, reputation link should lead to the actual reported reputation. Right now it links to "bad user's" (the one who added rep) reputation which may not even exist:
EDIT: also, just wondering why there is this variable:
$reputation_link = "reputation.php?uid={$usercache[$report['id2']]['uid']}#rid{$report['id']}";
$bad_user = build_profile_link($usercache[$report['id2']]['username'], $usercache[$report['id2']]['uid']);
$report_data['content'] = $lang->sprintf($lang->report_info_reputation, $reputation_link, $bad_user);
$good_user = build_profile_link($usercache[$report['id3']]['username'], $usercache[$report['id3']]['uid']);
$report_data['content'] .= $lang->sprintf($lang->report_info_rep_profile, $good_user);
($report['id2'] is used for both $reputation_link and $bad_user as you can see)EDIT: also, just wondering why there is this variable:
$string = "report_info_{$report['type']}";
being used only for one $report['type']