Vergleich admin/modules/tools/mailerrors.php - 1.8.4 - 1.8.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 43Zeile 43
			$db->delete_query("mailerrors", "eid IN ({$log_ids})");
$num_deleted = $db->affected_rows();
}

			$db->delete_query("mailerrors", "eid IN ({$log_ids})");
$num_deleted = $db->affected_rows();
}

 

// Log admin action
log_admin_action($num_deleted);

	}

$plugins->run_hooks("admin_tools_mailerrors_prune_commit");

	}

$plugins->run_hooks("admin_tools_mailerrors_prune_commit");


// Log admin action
log_admin_action($num_deleted);

 

flash_message($lang->selected_logs_deleted, 'success');
admin_redirect("index.php?module=tools-mailerrors");


flash_message($lang->selected_logs_deleted, 'success');
admin_redirect("index.php?module=tools-mailerrors");

Zeile 166Zeile 166
	if($mybb->input['subject'])
{
$additional_sql_criteria .= " AND subject LIKE '%".$db->escape_string_like($mybb->input['subject'])."%'";

	if($mybb->input['subject'])
{
$additional_sql_criteria .= " AND subject LIKE '%".$db->escape_string_like($mybb->input['subject'])."%'";

		$additional_criteria[] = "subject='".htmlspecialchars_uni($mybb->input['subject'])."'";

		$additional_criteria[] = "subject=".htmlspecialchars_uni($mybb->input['subject']);

		$form->generate_hidden_field("subject", $mybb->input['subject']);
}

if($mybb->input['fromaddress'])
{
$additional_sql_criteria .= " AND fromaddress LIKE '%".$db->escape_string_like($mybb->input['fromaddress'])."%'";

		$form->generate_hidden_field("subject", $mybb->input['subject']);
}

if($mybb->input['fromaddress'])
{
$additional_sql_criteria .= " AND fromaddress LIKE '%".$db->escape_string_like($mybb->input['fromaddress'])."%'";

		$additional_criteria[] = "fromaddress='".urlencode($mybb->input['fromaddress'])."'";

		$additional_criteria[] = "fromaddress=".urlencode($mybb->input['fromaddress']);

		$form->generate_hidden_field("fromaddress", $mybb->input['fromaddress']);
}

if($mybb->input['toaddress'])
{
$additional_sql_criteria .= " AND toaddress LIKE '%".$db->escape_string_like($mybb->input['toaddress'])."%'";

		$form->generate_hidden_field("fromaddress", $mybb->input['fromaddress']);
}

if($mybb->input['toaddress'])
{
$additional_sql_criteria .= " AND toaddress LIKE '%".$db->escape_string_like($mybb->input['toaddress'])."%'";

		$additional_criteria[] = "toaddress='".urlencode($mybb->input['toaddress'])."'";

		$additional_criteria[] = "toaddress=".urlencode($mybb->input['toaddress']);

		$form->generate_hidden_field("toaddress", $mybb->input['toaddress']);
}

if($mybb->input['error'])
{
$additional_sql_criteria .= " AND error LIKE '%".$db->escape_string_like($mybb->input['error'])."%'";

		$form->generate_hidden_field("toaddress", $mybb->input['toaddress']);
}

if($mybb->input['error'])
{
$additional_sql_criteria .= " AND error LIKE '%".$db->escape_string_like($mybb->input['error'])."%'";

		$additional_criteria[] = "error='".urlencode($mybb->input['error'])."'";

		$additional_criteria[] = "error=".urlencode($mybb->input['error']);

		$form->generate_hidden_field("error", $mybb->input['error']);
}


		$form->generate_hidden_field("error", $mybb->input['error']);
}