Vergleich editpost.php - 1.12 - 1.18

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 152Zeile 152
//	die($removeattachment);
}


//	die($removeattachment);
}


if($mybb->input['action'] == "deletepost")

if($mybb->input['action'] == "deletepost" && $mybb->request_method == "post")

{

$plugins->run_hooks("editpost_deletepost");

{

$plugins->run_hooks("editpost_deletepost");

Zeile 270Zeile 270
	{
$newpost = array(
"subject" => addslashes($mybb->input['subject']),

	{
$newpost = array(
"subject" => addslashes($mybb->input['subject']),

			"icon" => $mybb->input['icon'],

			"icon" => intval($mybb->input['icon']),

			);
$db->update_query(TABLE_PREFIX."threads", $newpost, "tid='$tid'");
}

			);
$db->update_query(TABLE_PREFIX."threads", $newpost, "tid='$tid'");
}