More renaming changes:
Edit the alter_all_alerts function in application\views\theme-tango\v_report_alerts.php and change the two instances of "$key->alert_id" to "$key->id".
Code:
function alter_all_alerts()
{
if (document.getElementById("alert_id_0").checked == true)
{
<?php
foreach ($query as $key):
echo "\tdocument.getElementById(\"alert_id_".$key->id."\").checked = true;\n";
endforeach;
?>
} else {
<?php
foreach ($query as $key):
echo "\tdocument.getElementById(\"alert_id_".$key->id."\").checked = false;\n";
endforeach;
?>
}