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