Vergleich editpost.php - 1.03 - 1.15

  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'");
}